Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Strongswan | Strongswan | >= 4.2.10, < 5.9.4 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 33 |
| Siemens | Sinema Remote Connect Server | - |
| Siemens | Siplus Et 200Sp Cp 1542Sp-1 Irc Tx Rail Firmware | - |
| Siemens | Siplus Et 200Sp Cp 1542Sp-1 Irc Tx Rail | - |
| Siemens | Simatic Cp 1243-1 Firmware | - |
| Siemens | Simatic Cp 1243-1 | - |
| Siemens | Simatic Cp 1242-7 Gprs V2 Firmware | - |
| Siemens | Simatic Cp 1242-7 Gprs V2 | - |
| Siemens | Simatic Net Cp 1243-8 Irc Firmware | - |
| Siemens | Simatic Net Cp 1243-8 Irc | - |
| Siemens | Scalance Sc632-2C Firmware | - |
| Siemens | Scalance Sc632-2C | - |
| Siemens | Siplus Et 200Sp Cp 1543Sp-1 Isec Firmware | - |
| Siemens | Siplus Et 200Sp Cp 1543Sp-1 Isec | - |
| Siemens | Cp 1543-1 Firmware | - |
| Siemens | Cp 1543-1 | - |
| Siemens | Simatic Net Cp 1545-1 Firmware | - |
| Siemens | Simatic Net Cp 1545-1 | - |
Related Weaknesses (CWE)
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdfPatchThird Party Advisory
- https://github.com/strongswan/strongswan/releases/tag/5.9.4Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00014.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://www.debian.org/security/2021/dsa-4989Third Party Advisory
- https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-%28cve-2021-
- https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdfPatchThird Party Advisory
- https://github.com/strongswan/strongswan/releases/tag/5.9.4Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00014.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://www.debian.org/security/2021/dsa-4989Third Party Advisory
FAQ
What is CVE-2021-41991?
CVE-2021-41991 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2021-41991?
CVE-2021-41991 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-41991?
Check the references section above for vendor advisories and patch information. Affected products include: Strongswan Strongswan, Debian Debian Linux, Fedoraproject Fedora, Siemens Sinema Remote Connect Server, Siemens Siplus Et 200Sp Cp 1542Sp-1 Irc Tx Rail Firmware.