CVE-2021-41991
Last modified
CVE-2021-41991 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 4.80% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 | All versions |
| Siemens | Siplus Et 200sp Cp 1542sp-1 Irc Tx Rail Firmware | All versions |
| Siemens | Simatic Cp 1243-1 Firmware | All versions |
| Siemens | Simatic Cp 1242-7 Gprs V2 Firmware | All versions |
| Siemens | Simatic Net Cp 1243-8 Irc Firmware | All versions |
| Siemens | Scalance Sc632-2c Firmware | All versions |
| Siemens | Siplus Et 200sp Cp 1543sp-1 Isec Firmware | All versions |
| Siemens | Cp 1543-1 Firmware | All versions |
| Siemens | Simatic Net Cp 1545-1 Firmware | All versions |
| Siemens | Simatic Cp 1543sp-1 Firmware | All versions |
| Siemens | Simatic Net Cp1243-7 Lte Eu Firmware | All versions |
| Siemens | Simatic Cp 1243-7 Lte\/Us Firmware | All versions |
| Siemens | Simatic Cp 1542sp-1 Firmware | All versions |
| Siemens | Scalance Sc636-2c Firmware | All versions |
| Siemens | Simatic Cp 1542sp-1 Irc Firmware | All versions |
| Siemens | Scalance Sc642-2c Firmware | All versions |
| Siemens | Scalance Sc646-2c Firmware | < 2.3 |
| Siemens | Scalance Sc622-2c Firmware | All versions |
| Siemens | Siplus S7-1200 Cp 1243-1 Rail Firmware | All versions |
| Siemens | Siplus S7-1200 Cp 1243-1 Firmware | All versions |
| Siemens | Siplus Net Cp 1543-1 Firmware | All versions |
| Siemens | Siplus Et 200sp Cp 1543sp-1 Isec Tx Rail Firmware | All versions |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdfPatch, Third 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 List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4989Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-539476.pdfPatch, Third 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 List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4989Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41991?
How severe is CVE-2021-41991?
How do I fix CVE-2021-41991?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41986Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-41987In the SCEP Server of RouterOS in certain Mikrotik products,…8.1
- CVE-2021-41988Qlik NPrinting Designer through 21.14.3.0 creates a Temporar…7.8
- CVE-2021-41989Qlik QlikView through 12.60.20100.0 creates a Temporary File…7.8
- CVE-2021-4199Incorrect Permission Assignment for Critical Resource vulner…7.8
- CVE-2021-41990The gmp plugin in strongSwan before 5.9.4 has a remote integ…7.5
- CVE-2021-41992A misconfiguration of RSA in PingID Windows Login prior to 2…5.6
- CVE-2021-41993A misconfiguration of RSA in PingID Android app prior to 1.1…4.8
- CVE-2021-41994A misconfiguration of RSA in PingID iOS app prior to 1.19 is…4.8
- CVE-2021-41995A misconfiguration of RSA in PingID Mac Login prior to 1.1 i…7.5
- CVE-2021-4200A Improper Privilege Management vulnerability in SUSE Ranche…5.4
- CVE-2021-42000When a password reset or password change flow with an authen…6.5
Are you affected by CVE-2021-41991?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
