CVE-2021-41991
HIGH7.5EPSS 2.8%strongswan - security update
Published: 10/18/2021Modified: 4/28/2026
Description
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.
Affected packages (3)
- Alpine/strongswanfrom 0, < 5.8.4-r3
- Debian/strongswanfrom 0, < 5.9.1-1+deb11u1
- Debian/strongswanfrom 0, < 5.5.1-4+deb9u5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |