CVEvulnerability
CVE-2021-41991
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-10-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-190
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.
Affected configurations
• strongswan strongswan (>= 4.2.10 < 5.9.4)
• debian debian linux 9.0
• debian debian linux 10.0
• debian debian linux 11.0
• fedoraproject fedora 33
• fedoraproject fedora 34
• fedoraproject fedora 35
• 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 (< 2.3)
• 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
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf Patch, Third Party Advisory
- https://github.com/strongswan/strongswan/releases/tag/5.9.4 Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00014.html Mailing List, Third Party Advisory
- 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/ lists.fedoraproject.org
- https://www.debian.org/security/2021/dsa-4989 Third Party Advisory
- https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-%28cve-2021-41991%29.html www.strongswan.org
- https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf Patch, Third Party Advisory
- https://github.com/strongswan/strongswan/releases/tag/5.9.4 Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00014.html Mailing List, Third Party Advisory
- 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/ lists.fedoraproject.org
- https://www.debian.org/security/2021/dsa-4989 Third Party Advisory
- https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-%28cve-2021-41991%29.html www.strongswan.org