High severity · published Oct 18, 2021
CVE-2021-41991
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…
7.5
CVSS
5.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)5.3% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
C1
CP 1543-1 Firmware · Siemens
All versions, or not specified · source: NVD
DL
Debian Linux · Debian
9.0; 10.0; 11.0 · source: NVD
FE
Fedora · Fedoraproject
33; 34; 35 · source: NVD
SS
Scalance Sc622-2c Firmware · Siemens
All versions, or not specified · source: NVD
SS
Scalance Sc632-2c Firmware · Siemens
All versions, or not specified · source: NVD
SS
Scalance Sc636-2c Firmware · Siemens
All versions, or not specified · source: NVD
SS
Scalance Sc642-2c Firmware · Siemens
All versions, or not specified · source: NVD
SS
Scalance Sc646-2c Firmware · Siemens
before 2.3 · source: NVD
SC
Simatic CP 1242-7 Gprs V2 Firmware · Siemens
All versions, or not specified · source: NVD
SC
Simatic CP 1243-1 Firmware · Siemens
All versions, or not specified · source: NVD
SC
Simatic CP 1243-7 Lte/us Firmware · Siemens
All versions, or not specified · source: NVD
SC
Simatic CP 1542sp-1 Firmware · Siemens
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-41991
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-41991
Patch
https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf
Third Party Advisory
https://github.com/strongswan/strongswan/releases/tag/5.9.4
Mailing List
https://lists.debian.org/debian-lts-announce/2021/10/msg00014.html
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FJSATD2R2XHTG4P63GCMQ2N7EWKMME5/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQSQ3BEC22NF4NCDZVCT4P3Q2ZIAJXGJ/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y3TQ32JLJOBJDB2EJKSX2PBPB5NFG2D4/
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
