VDB
ALPINE-CVE-2021-41991
ALPINE-CVE-2021-41991
PUBLISHED
CVSS 7.5 HIGH
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.
Risk Scores
CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.15 | strongswan | 5.6.3-r2, 4.6.1-r0, 5.9.1-r2 |
| Alpine:v3.16 | strongswan | 5.3.1-r1, 5.2.0-r0, 5.1.1-r1 |
| Alpine:v3.18 | strongswan | 5.8.0-r0, 4.5.2-r0, 4.6.1-r0 |
| Alpine:v3.17 | strongswan | 0, 5.9.1-r2, 5.9.1-r1 |
| Alpine:v3.23 | strongswan | 5.3.4-r0, 0, 4.5.2-r0 |
| Alpine:v3.13 | strongswan | 5.9.0-r1, 5.9.1-r0, 5.3.2-r3 |
| Alpine:v3.20 | strongswan | 5.5.1-r1, 5.5.2-r0, 5.5.2-r1 |
| Alpine:v3.12 | strongswan | 5.7.2-r0, 5.6.0-r1, 4.5.2-r0 |
| Alpine:v3.21 | strongswan | 5.5.1-r0, 5.9.1-r2, 5.9.1-r1 |
| Alpine:v3.19 | strongswan | 5.6.0-r0, 5.5.3-r1, 5.5.3-r0 |
| Alpine:v3.22 | strongswan | 5.5.2-r1, 5.5.2-r0, 5.5.1-r1 |
| Alpine:v3.14 | strongswan | 5.3.2-r2, 5.8.1-r1, 5.8.1-r0 |
Timeline
- Oct 18, 2021 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch