nday
CVE-2021-41991

The in-memory certificate cache in strongSwan before 5.9.4 has a remote integer overflow upon…Title composed by nday; the CVE record has none.

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

integer overflow
CWE-190, stated by NVD's analysts
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
Siemens SIMATIC
CPE names NVD's analysts give as vulnerable: o:siemens:simatic_cp_1242-7_gprs_v2_firmware, o:siemens:simatic_cp_1243-1_firmware, o:siemens:simatic_cp_1243-7_lte/us_firmware, o:siemens:simatic_cp_1542sp-1_firmware, o:siemens:simatic_cp_1542sp-1_irc_firmware, o:siemens:simatic_cp_1543sp-1_firmware, o:siemens:simatic_net_cp1243-7_lte_eu_firmware, o:siemens:simatic_net_cp_1243-8_irc_firmware, o:siemens:simatic_net_cp_1545-1_firmware
Siemens SCALANCE
CPE names NVD's analysts give as vulnerable: o:siemens:scalance_sc622-2c_firmware, o:siemens:scalance_sc632-2c_firmware, o:siemens:scalance_sc636-2c_firmware, o:siemens:scalance_sc642-2c_firmware, o:siemens:scalance_sc646-2c_firmware
router / switch
CPE names NVD's analysts give as vulnerable: o:siemens:scalance_sc622-2c_firmware, o:siemens:scalance_sc632-2c_firmware, o:siemens:scalance_sc636-2c_firmware, o:siemens:scalance_sc642-2c_firmware, o:siemens:scalance_sc646-2c_firmwarethe product type of Siemens SCALANCE in nday's product registry
ICS / OT
CPE names NVD's analysts give as vulnerable: o:siemens:scalance_sc622-2c_firmware, o:siemens:scalance_sc632-2c_firmware, o:siemens:scalance_sc636-2c_firmware, o:siemens:scalance_sc642-2c_firmware, o:siemens:scalance_sc646-2c_firmware, o:siemens:simatic_cp_1242-7_gprs_v2_firmware, o:siemens:simatic_cp_1243-1_firmware, o:siemens:simatic_cp_1243-7_lte/us_firmware, o:siemens:simatic_cp_1542sp-1_firmware, o:siemens:simatic_cp_1542sp-1_irc_firmware and 4 morethe product type of Siemens SCALANCE and Siemens SIMATIC in nday's product registry
stage
DIS
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-10-18T13:44Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 249683,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-41991",
  "occurred_at": "2021-10-18T13:44:25Z",
  "observed_at": "2026-11-13T05:37:28.91477Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2021-10-18T13:44:25.000Z",
    "assigner_short_name": "mitre"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.