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.
References
| Link | Resource |
|---|---|
| https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41991).html | Exploit Vendor Advisory |
| https://github.com/strongswan/strongswan/releases/tag/5.9.4 | Third Party Advisory |
| https://www.debian.org/security/2021/dsa-4989 | 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@lists.fedoraproject.org/message/WQSQ3BEC22NF4NCDZVCT4P3Q2ZIAJXGJ/ | Mailing List Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5FJSATD2R2XHTG4P63GCMQ2N7EWKMME5/ | Mailing List Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y3TQ32JLJOBJDB2EJKSX2PBPB5NFG2D4/ | Mailing List Third Party Advisory |
| https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2021-10-18 14:15
Updated : 2022-02-08 13:15
NVD link : CVE-2021-41991
Mitre link : CVE-2021-41991
JSON object : View
Products Affected
fedoraproject
- fedora
debian
- debian_linux
strongswan
- strongswan
CWE
CWE-190
Integer Overflow or Wraparound
