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?
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
