cve.bz

CVE-2021-41991 Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highEPSS 5.3%Fix available

High (7.5). EPSS 5.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.3% (unchanged from 5.3% a week ago; 5.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-41991 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41991?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41991?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41991 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
strongswan:strongswanfrom 4.2.10 before 5.9.4
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
siemens:scalance_sc646-2c_firmwarebefore 2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9strongswan5.5.1-4+deb9u5DLA-2788-1
Debian10strongswan5.7.2-1+deb10u1DSA-4989-1
Debian11strongswan5.9.1-1+deb11u1DSA-4989-1
Debian12, 13, 14strongswan5.9.4-1DEBIAN-CVE-2021-41991
Ubuntu18.04:LTSstrongswan5.6.2-1ubuntu2.7UBUNTU-CVE-2021-41991 USN-5111-1
Ubuntu20.04:LTSstrongswan5.8.2-1ubuntu3.3UBUNTU-CVE-2021-41991 USN-5111-1
Ubuntu22.04:LTSstrongswan5.9.1-1ubuntu3.1UBUNTU-CVE-2021-41991
UbuntuPro:14.04:LTSstrongswan5.1.2-0ubuntu2.11+esm1UBUNTU-CVE-2021-41991 USN-5111-2
UbuntuPro:16.04:LTSstrongswan5.3.5-1ubuntu3.8+esm1UBUNTU-CVE-2021-41991 USN-5111-2
UbuntuPro:FIPS-updates:16.04:LTSstrongswan5.3.5-1ubuntu3.fips.3.8.2UBUNTU-CVE-2021-41991
UbuntuPro:FIPS-updates:18.04:LTSstrongswan5.6.2-1ubuntu2.fips.2.7.1UBUNTU-CVE-2021-41991
UbuntuPro:FIPS-updates:20.04:LTSstrongswan5.8.2-1ubuntu3.fips.3.3.1UBUNTU-CVE-2021-41991
UbuntuPro:FIPS:16.04:LTS, Pro:FIPS:18.04:LTS, Pro:FIPS:20.04:LTSstrongswanno fix listedUBUNTU-CVE-2021-41991
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morestrongswan5.8.2-4.14.2SUSE-SU-2021:3469-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 morestrongswan5.1.3-26.16.1SUSE-SU-2021:3468-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP2 and 3 morestrongswan5.8.2-11.21.1SUSE-SU-2021:3467-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSstrongswan4.4.0-6.36.9.1SUSE-SU-2021:14827-1
openSUSELeap 15.2strongswan5.8.2-lp152.2.18.1openSUSE-SU-2021:1399-1
openSUSELeap 15.3strongswan5.8.2-11.21.1openSUSE-SU-2021:3467-1
openSUSETumbleweedstrongswan5.9.4-1.1openSUSE-SU-2024:11655-1
Alpinev3.12strongswan5.8.4-r3ALPINE-CVE-2021-41991
Alpinev3.13strongswan5.9.1-r1ALPINE-CVE-2021-41991
Alpinev3.14strongswan5.9.1-r2ALPINE-CVE-2021-41991
Alpinev3.15, v3.16, v3.17 and 7 morestrongswan5.9.1-r3ALPINE-CVE-2021-41991
Azure Linux2strongswan5.9.5-1AZL-6897

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7strongimcvOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-41991.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-259-03Siemens SIMATIC NET CP, SINEMA and SCALANCE2025-09-16Critical ManufacturingSiemens Siemens RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2): <V7.1, Siemens Siemens SCALANCE M874-3 (6GK5874-3AA00-2AA2): <V7.1, Siemens Siemens SCALANCE M876-3 (EVDO) (6GK5876-3AA02-2BA2): <V7.1 and 38 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON