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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2788-1, DSA-4989-1, ELA-641-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
strongswan (PTS)jessie, jessie (lts)5.2.1-6+deb8u11fixed
stretch (security)5.5.1-4+deb9u6fixed
stretch (lts), stretch5.5.1-4+deb9u7fixed
buster (security), buster, buster (lts)5.7.2-1+deb10u4fixed
bullseye (security), bullseye5.9.1-1+deb11u4fixed
bookworm (security), bookworm5.9.8-5+deb12u1fixed
sid, trixie5.9.13-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
strongswansourcejessie5.2.1-6+deb8u9ELA-641-1
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