REDHAT-BUG-2550255: Low severity libreswan Libreswan vulnerability
The Libreswan Project received a report about an issue in the libreswan 5.3 series related to badly formed received certificates while running in FIPS mode. While being rejected, the certifiates were not deleted from the NSS cache, resulting in any real certificates with the same serial number being rejected as well. This can be abused to lock out legitimate peers from connecting.
Sending bogus certificates with new serial numbers could prevent the real certificates with those serial numbers from connecting until the service has restarted. While there is no RFC that dictates Certificate Authority (CA) should use randomized serial numbers, it is considered best practise and it is a requirement of the CA/Browser Forum. If using a private Root CA for IPsec VPNs, it is recommended to verify it uses randomized serial numbers. However, an attacker could still trick a peer into connecting to them first, thus learning the serial number.
Vulnerable versions : 5.3, 5.3.1, 5.3.2 Not vulnerable : 3.0 - 5.2, 5.4 and higher
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Libreswanto a version that resolves this vulnerability.Fixed in 5.4 - Compensating control
If using a private Root CA for IPsec VPNs, verify that it uses randomized certificate serial numbers.