Skip to content
OpenAdvisories
Unscored CVE-2021-41991 EUVD-2021-28981GHSA-jpr7-w98h-cvgm

The in-memory certificate cache in strongSwan before 5.9.4 has a remote integer overflow upon receiving many requests with different certif…

Published Oct 18, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 strongswan 5.9.4-1 —
Debian 13 strongswan 5.9.4-1 —
Debian 12 strongswan 5.9.4-1 —
Debian 11 strongswan 5.9.1-1+deb11u1 DSA-4989-1
Debian 10 strongswan 5.7.2-1+deb10u1 DSA-4989-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 strongswan 5.5.1-4+deb9u5 DLA-2788-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS strongswan 5.9.1-1ubuntu3.1 —
Ubuntu 20.04 LTS strongswan 5.8.2-1ubuntu3.3 USN-5111-1
Ubuntu 18.04 LTS strongswan 5.6.2-1ubuntu2.7 USN-5111-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS strongswan No fix yet —
Ubuntu Pro FIPS 18.04 LTS strongswan No fix yet —
Ubuntu Pro FIPS 16.04 LTS strongswan No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS strongswan 5.8.2-1ubuntu3.fips.3.3.1 —
Ubuntu Pro FIPS-updates 18.04 LTS strongswan 5.6.2-1ubuntu2.fips.2.7.1 —
Ubuntu Pro FIPS-updates 16.04 LTS strongswan 5.3.5-1ubuntu3.fips.3.8.2 —
Ubuntu Pro 16.04 LTS strongswan 5.3.5-1ubuntu3.8+esm1 USN-5111-2
Ubuntu Pro 14.04 LTS strongswan 5.1.2-0ubuntu2.11+esm1 USN-5111-2
ReleasePackageFixed inAdvisory
SLES 15 SP3 strongswan 5.8.2-11.21.1 SUSE-SU-2021:3467-1
SLES 15 SP2 strongswan 5.8.2-11.21.1 SUSE-SU-2021:3467-1
SLES 15 SP1 strongswan 5.8.2-4.14.2 SUSE-SU-2021:3469-1
SLES 15 strongswan 5.8.2-4.14.2 SUSE-SU-2021:3469-1
SLES 12 SP5 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SLES 12 SP3 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SLES 12 SP2 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SLES 11 SP4 strongswan 4.4.0-6.36.9.1 SUSE-SU-2021:14827-1
SLES for SAP 15 SP1 strongswan 5.8.2-4.14.2 SUSE-SU-2021:3469-1
SLES for SAP 15 strongswan 5.8.2-4.14.2 SUSE-SU-2021:3469-1
SLES for SAP 12 SP5 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SLES for SAP 12 SP4 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SLES for SAP 12 SP3 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SLE HPC 15 SP1 strongswan 5.8.2-4.14.2 SUSE-SU-2021:3469-1
SLE HPC 15 strongswan 5.8.2-4.14.2 SUSE-SU-2021:3469-1
SUSE OpenStack Cloud Crowbar 9 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SUSE OpenStack Cloud Crowbar 8 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SUSE OpenStack Cloud 9 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SUSE OpenStack Cloud 8 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SUSE Linux Enterprise Point of Sale 11 SP3 strongswan 4.4.0-6.36.9.1 SUSE-SU-2021:14827-1
SUSE HPE Helion OpenStack 8 strongswan 5.1.3-26.16.1 SUSE-SU-2021:3468-1
SUSE Enterprise Storage 6 strongswan 5.8.2-4.14.2 SUSE-SU-2021:3469-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed strongswan 5.9.4-1.1 openSUSE-SU-2024:11655-1
openSUSE Leap 15.3 strongswan 5.8.2-11.21.1 openSUSE-SU-2021:3467-1
openSUSE Leap 15.2 strongswan 5.8.2-lp152.2.18.1 openSUSE-SU-2021:1399-1
ReleasePackageFixed inAdvisory
Alpine v3.24 strongswan 5.9.1-r3 —
Alpine v3.23 strongswan 5.9.1-r3 —
Alpine v3.22 strongswan 5.9.1-r3 —
Alpine v3.21 strongswan 5.9.1-r3 —
Alpine v3.20 strongswan 5.9.1-r3 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 strongswan 5.9.1-r3 —
Alpine v3.18 strongswan 5.9.1-r3 —
Alpine v3.17 strongswan 5.9.1-r3 —
Alpine v3.16 strongswan 5.9.1-r3 —
Alpine v3.15 strongswan 5.9.1-r3 —
Alpine v3.14 strongswan 5.9.1-r2 —
Alpine v3.13 strongswan 5.9.1-r1 —
Alpine v3.12 strongswan 5.8.4-r3 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) strongswan 5.9.5-1 —

Advisories 14

References