CVE-2021-41991

Description

The in-memory certificate cache in strongSwan before 5.9.4 has a remote integer overflow upon receiving many requests with different certificates to fill the cache and later trigger the replacement of cache entries. The code attempts to select a less-often-used cache entry by means of a random number generator, but this is not done correctly. Remote code execution might be a slight possibility.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
2.535

Associated Vulnerability

VulnerabilityOS Platform
IPsec VPN solution (USN-5111-1) strongswan_5.6.2-1ubuntu2.7_all.debLinux
IPsec VPN solution (USN-5111-1) strongswan_5.8.2-1ubuntu3.3_all.debLinux
IPsec VPN solution (USN-5111-1) strongswan_5.9.1-1ubuntu1.2_all.debLinux
IPsec VPN solution (USN-5111-1) strongswan_5.9.1-1ubuntu3.1_all.debLinux
IPsec VPN solution (USN-5111-1) libstrongswan_5.6.2-1ubuntu2.7_i386.debLinux
IPsec VPN solution (USN-5111-1) libstrongswan_5.6.2-1ubuntu2.7_amd64.debLinux
IPsec VPN solution (USN-5111-1) libstrongswan_5.8.2-1ubuntu3.3_amd64.debLinux
IPsec VPN solution (USN-5111-1) libstrongswan_5.9.1-1ubuntu1.2_amd64.debLinux
IPsec VPN solution (USN-5111-1) libstrongswan_5.9.1-1ubuntu3.1_amd64.debLinux
strongswan security update(DSA-4989-1) strongswan_5.7.2-1+deb10u1_all.debLinux
strongswan security update(DSA-4989-1) strongswan_5.9.1-1+deb11u1_all.debLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-5.1.3-26.16.1.x86_64.rpmLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-debugsource-5.1.3-26.16.1.x86_64.rpmLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-doc-5.1.3-26.16.1.noarch.rpmLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-hmac-5.1.3-26.16.1.x86_64.rpmLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-ipsec-5.1.3-26.16.1.x86_64.rpmLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-ipsec-debuginfo-5.1.3-26.16.1.x86_64.rpmLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-libs0-5.1.3-26.16.1.x86_64.rpmLinux
SUSE-SU-2021:3468-1(SUSE Linux Enterprise Server 12-SP5 ) strongswan-libs0-debuginfo-5.1.3-26.16.1.x86_64.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234