CVE-2021-41991

NameCVE-2021-41991
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2788-1, DSA-4989-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
strongswan (PTS)stretch5.5.1-4+deb9u4vulnerable
stretch (security)5.5.1-4+deb9u5fixed
buster5.7.2-1vulnerable
buster (security)5.7.2-1+deb10u1fixed
bullseye5.9.1-1vulnerable
bullseye (security)5.9.1-1+deb11u1fixed
bookworm, sid5.9.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
strongswansourcestretch5.5.1-4+deb9u5DLA-2788-1
strongswansourcebuster5.7.2-1+deb10u1DSA-4989-1
strongswansourcebullseye5.9.1-1+deb11u1DSA-4989-1
strongswansource(unstable)5.9.4-1

Notes

https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41991).html

Search for package or bug name: Reporting problems