CVE-2021-41991
Fixed in a distro release EPSS 5%
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.
Products: strongswan, debian_linux, fedoraproject fedora, siemens sinema_remote_connect_server, siemens siplus_et_200sp_cp_1542sp-1_irc_tx_rail_firmware, siemens simatic_cp_1243-1_firmware, siemens simatic_cp_1242-7_gprs_v2_firmware, siemens simatic_net_cp_1243-8_irc_firmware, siemens scalance_sc632-2c_firmware, siemens siplus_et_200sp_cp_1543sp-1_isec_firmware, siemens cp_1543-1_firmware, siemens simatic_net_cp_1545-1_firmware, siemens simatic_cp_1543sp-1_firmware, siemens simatic_net_cp1243-7_lte_eu_firmware, siemens simatic_cp_1243-7_lte/us_firmware, siemens simatic_cp_1542sp-1_firmware, siemens scalance_sc636-2c_firmware, siemens simatic_cp_1542sp-1_irc_firmware, siemens scalance_sc642-2c_firmware, siemens scalance_sc646-2c_firmware, siemens scalance_sc622-2c_firmware, siemens siplus_s7-1200_cp_1243-1_rail_firmware, siemens siplus_s7-1200_cp_1243-1_firmware, siemens siplus_net_cp_1543-1_firmware, siemens siplus_et_200sp_cp_1543sp-1_isec_tx_rail_firmware
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.12 | strongswan | 5.8.4-r3 |
| Alpine 3.13 | strongswan | 5.9.1-r1 |
| Alpine 3.14 | strongswan | 5.9.1-r2 |
| Alpine 3.15 | strongswan | 5.9.1-r3 |
| Alpine 3.16 | strongswan | 5.9.1-r3 |
| Alpine 3.17 | strongswan | 5.9.1-r3 |
| Alpine 3.18 | strongswan | 5.9.1-r3 |
| Alpine 3.19 | strongswan | 5.9.1-r3 |
| Alpine 3.20 | strongswan | 5.9.1-r3 |
| Alpine 3.21 | strongswan | 5.9.1-r3 |
| Alpine 3.22 | strongswan | 5.9.1-r3 |
| Alpine 3.23 | strongswan | 5.9.1-r3 |
| Alpine 3.24 | strongswan | 5.9.1-r3 |
| Arch Linux | strongswan | 5.9.4-1 |
| Debian 10 | strongswan | 5.7.2-1+deb10u1 |
| Debian 11 | strongswan | 5.9.1-1+deb11u1 |
| Debian 12 | strongswan | 5.9.4-1 |
| Debian 13 | strongswan | 5.9.4-1 |
| Debian 14 | strongswan | 5.9.4-1 |
| Debian 9 | strongswan | 5.5.1-4+deb9u5 |
| SUSE Enterprise Storage 6 | strongswan | 5.8.2-4.14.2 |
| SUSE HPE Helion OpenStack 8 | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | strongswan | 5.8.2-11.21.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | strongswan | 5.8.2-11.21.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP2 | strongswan | 5.8.2-11.21.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | strongswan | 5.8.2-11.21.1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | strongswan | 4.4.0-6.36.9.1 |
| SUSE Linux Enterprise Server 11 SP4-LTSS | strongswan | 4.4.0-6.36.9.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server 12 SP3-BCL | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server 12 SP3-LTSS | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server 12 SP4-LTSS | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server 12 SP5 | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise Server 15-LTSS | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | strongswan | 5.1.3-26.16.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | strongswan | 5.8.2-4.14.2 |
| SUSE Linux Enterprise Workstation Extension 15 SP2 | strongswan | 5.8.2-11.21.1 |
| SUSE Linux Enterprise Workstation Extension 15 SP3 | strongswan | 5.8.2-11.21.1 |
| SUSE OpenStack Cloud 8 | strongswan | 5.1.3-26.16.1 |
| SUSE OpenStack Cloud 9 | strongswan | 5.1.3-26.16.1 |
| SUSE OpenStack Cloud Crowbar 8 | strongswan | 5.1.3-26.16.1 |
| SUSE OpenStack Cloud Crowbar 9 | strongswan | 5.1.3-26.16.1 |
| Ubuntu 18.04 LTS | strongswan | 5.6.2-1ubuntu2.7 |
| Ubuntu 20.04 LTS | strongswan | 5.8.2-1ubuntu3.3 |
| Ubuntu 22.04 LTS | strongswan | 5.9.1-1ubuntu3.1 |
| Ubuntu Pro 14.04 LTS | strongswan | 5.1.2-0ubuntu2.11+esm1 |
| Ubuntu Pro 16.04 LTS | strongswan | 5.3.5-1ubuntu3.8+esm1 |
| Ubuntu Pro FIPS-updates 16.04 LTS | strongswan | 5.3.5-1ubuntu3.fips.3.8.2 |
| Ubuntu Pro FIPS-updates 18.04 LTS | strongswan | 5.6.2-1ubuntu2.fips.2.7.1 |
| Ubuntu Pro FIPS-updates 20.04 LTS | strongswan | 5.8.2-1ubuntu3.fips.3.3.1 |
| Ubuntu Pro FIPS 16.04 LTS | strongswan | no fix |
| Ubuntu Pro FIPS 18.04 LTS | strongswan | no fix |
| Ubuntu Pro FIPS 20.04 LTS | strongswan | no fix |
| openSUSE Leap 15.2 | strongswan | 5.8.2-lp152.2.18.1 |
| openSUSE Leap 15.3 | strongswan | 5.8.2-11.21.1 |
| openSUSE Tumbleweed | strongswan | 5.9.4-1.1 |