Amazon Linux 2023 must have the libreswan package installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-274032SRG-OS-000120-GPOS-00061AZLX-23-001105SV-274032r1120084_rule2025-07-151
Description
Unapproved mechanisms that are used for authentication to the cryptographic module are not verified and therefore, cannot be relied upon to provide confidentiality or integrity, and DOD data may be compromised. Operating systems utilizing encryption are required to use FIPS-compliant mechanisms for authenticating to cryptographic modules. FIPS 140-2/140-3 is the current standard for validating that mechanisms used to access cryptographic modules utilize authentication that meets DOD requirements. This allows for Security Levels 1, 2, 3, or 4 for use on a general purpose computing system.
ℹ️ Check
Verify Amazon Linux 2023 has the libreswan package installed with the following command: $ dnf list --installed libreswan Installed Packages libreswan.x86_64 4.12-3.amzn2023.0.2 @amazonlinux If the "libreswan" package is not installed, this is a finding.
✔️ Fix
Configure Amazon Linux 2023 to have the libreswan package installed with the following command: $ sudo dnf install -y libreswan