Integer overflow in Siemens Cp 1543-1 Firmware
CVE-2021-41991
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.053, 92.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Siemens Cp 1543-1 Firmware
- Siemens Scalance Sc622-2c Firmware
- Siemens Scalance Sc632-2c Firmware
- Siemens Scalance Sc636-2c Firmware
- Siemens Scalance Sc642-2c Firmware
- Siemens Scalance Sc646-2c Firmware
- Siemens Simatic Cp 1242-7 Gprs V2 Firmware
- Siemens Simatic Cp 1243-1 Firmware
- Siemens Simatic Cp 1243-7 Lte\/us Firmware
- Siemens Simatic Cp 1542sp-1 Firmware
Weakness classification (CWE)
References
- github.com/strongswan/strongswan/releases/tag/5.9.4 (Third Party Advisory)
- www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41991).ht…
- DSA-4989 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20211019 [SECURITY] [DLA 2788-1] strongswan security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2021-0b37146973 (vendor-advisory)
- FEDORA-2021-b3df83339e (vendor-advisory)
- FEDORA-2021-95fab6a482 (vendor-advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf (Patch, Third Party Advisory)