BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-41991 in Debian Linux and 88 more products

High 7.5 Industrial / OT

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.

Affects 89 products from 4 vendors. Description from NVD and MITRE.

CVSS 3.17.5
EPSS5.3%
EPSS percentile93th

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 9.0 10.0 11.0
Fedoraproject Fedora 33 34 35
Siemens Cp 1543-1 (device and firmware) < 2.2.28
Siemens SINEMA Remote Connect Server (device and firmware) < 3.1
Siemens SCALANCE S615 (device and firmware) < 7.1
Siemens SIMATIC Cp 1543-1 (device and firmware) < 2.2.28
Siemens Siplus Net Cp 1543-1 (device and firmware) < 3.0.22
Siemens SIMATIC Cp 1243-1 (device and firmware) < 3.3.46
Siemens SIMATIC Cp 1542SP-1 (device and firmware) < 2.2.28
Siemens SIMATIC Cp 1542SP-1 Irc (device and firmware) < 2.2.28
Siemens SIMATIC Cp 1543SP-1 (device and firmware) < 2.2.28
Siemens SIMATIC Net Cp 1243-7 Lte Eu (device and firmware) No version listed by the source
Siemens SIMATIC Net Cp 1243-8 Irc (device and firmware) No version listed by the source
Siemens SIMATIC Net Cp 1545-1 (device and firmware) No version listed by the source
Siemens SCALANCE SC622-2C (device and firmware) < 2.3
Siemens SCALANCE SC632-2C (device and firmware) < 2.3
Siemens SCALANCE SC636-2C (device and firmware) < 2.3
Siemens SCALANCE SC642-2C (device and firmware) < 2.3
Siemens SCALANCE SC646-2C (device and firmware) < 2.3
Siemens SIMATIC Cp 1242-7 Gprs V2 (device and firmware) No version listed by the source
Siemens SCALANCE M804PB (device and firmware) < 7.1
Siemens SCALANCE M874-2 (device and firmware) < 7.1
Siemens SCALANCE M876-3 (device and firmware) < 7.1
Siemens SCALANCE M876-4 (device and firmware) < 7.1
Siemens SCALANCE MUM856-1 (device and firmware) < 7.1
Siemens SIMATIC Cp 1545-1 (device and firmware) < 1.1
Siemens 6GK5812-1AA00-2AA2 (device and firmware) < 7.1
Siemens 6GK5812-1BA00-2AA2 (device and firmware) < 7.1
Siemens 6GK5816-1AA00-2AA2 (device and firmware) < 7.1
Siemens 6GK5816-1BA00-2AA2 (device and firmware) < 7.1
Siemens 6GK5876-3AA02-2BA2 (device and firmware) < 7.1
Siemens 6GK5615-0AA00-2AA2 (device and firmware) < 7.1
Siemens Siplus Et 200SP Cp 1542SP-1 Irc Tx Rail (device and firmware) < 2.2.28
Siemens Siplus Et 200SP Cp 1543SP-1 Isec (device and firmware) < 2.2.28
Siemens Siplus S7-1200 Cp 1243-1 Rail (device and firmware) < 3.3.46
Siemens Siplus S7-1200 Cp 1243-1 (device and firmware) < 3.3.46
Siemens Siplus Et 200SP Cp 1543SP-1 Isec Tx Rail (device and firmware) < 2.2.28
Siemens SIMATIC Cp 1243-7 Lte Eu (device and firmware) < 3.3.46
Siemens SIMATIC Cp 1243-8 Irc (device and firmware) < 3.3.46
Siemens Siplus Net Cp 1242-7 V2 (device and firmware) < 3.3.46
Siemens SCALANCE MUM853-1 (device and firmware) < 7.1
Siemens SCALANCE M812-1 Adsl-Router (device and firmware) < 7.1
Siemens SCALANCE M816-1 Adsl-Router (device and firmware) < 7.1
Siemens SCALANCE M826-2 Shdsl-Router (device and firmware) < 7.1
Siemens SIMATIC Cp 1243-7 Lte/Us (device and firmware) < 3.3.46
Strongswan Strongswan ≥ 4.2.10, < 5.9.4
Siemens 6Gk5853-2Ea00-2Da1 (device and firmware) < 7.1
Siemens 6Gk5856-2Ea00-3Aa1 (device and firmware) < 7.1
Siemens 6Gk5856-2Ea00-3Da1 (device and firmware) < 7.1
Siemens 6Gk5874-3Aa00-2Aa2 (device and firmware) < 7.1
Siemens 6Gk5876-3Aa02-2Ea2 (device and firmware) < 7.1
Siemens 6Gk5876-4Aa00-2Ba2 (device and firmware) < 7.1
Siemens 6Gk5876-4Aa00-2Da2 (device and firmware) < 7.1
Siemens 6Gk6108-4Am00-2Ba2 (device and firmware) < 7.1
Siemens 6Gk6108-4Am00-2Da2 (device and firmware) < 7.1
Siemens Ruggedcom Rm1224 Firmware < 7.1
Siemens Ruggedcom Rm1224 Lte(4G) Eu Firmware < 7.1
Siemens Ruggedcom Rm1224 Lte(4G) Nam Firmware < 7.1
Siemens Scalance M874-3 Firmware < 7.1
Siemens Simatic Cp 1242-7 V2 Firmware < 3.3.46

Show 38 more products

Fix and vendor advisory

  • SIMATIC CP 1542SP-1 (6GK7542-6UX00-0XE0), SIMATIC CP 1542SP-1 IRC (6GK7542-6VX00-0XE0), SIMATIC CP 1543SP-1 (6GK7543-6WX00-0XE0) and 3 more: Update to V2.2.28 or later version
  • SIMATIC CP 1242-7 V2 (6GK7242-7KX31-0XE0), SIMATIC CP 1243-1 (6GK7243-1BX30-0XE0), SIMATIC CP 1243-7 LTE EU (6GK7243-7KX30-0XE0) and 5 more: Update to V3.3.46 or later version
  • SIMATIC CP 1545-1 (6GK7545-1GX00-0XE0): Update to V1.1 or later version
  • SINEMA Remote Connect Server: Update to V3.1 or later version
  • SCALANCE SC622-2C (6GK5622-2GS00-2AC2), SCALANCE SC632-2C (6GK5632-2GS00-2AC2), SCALANCE SC636-2C (6GK5636-2GS00-2AC2) and 2 more: Update to V2.3 or later version
  • SIMATIC CP 1543-1 (6GK7543-1AX00-0XE0), SIPLUS NET CP 1543-1 (6AG1543-1AX00-2XE0): Update to V3.0.22 or later version
  • RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 15 more: Update to V7.1 or later version

Source: SSA-539476

View CISA ICS Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2021-41991
BreachSpider IDBS-2021-GLOBAL-298934-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2021-10-18
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement rate limiting on the number of certificate requests to the strongSwan service to prevent the cache from being overwhelmed.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.