CVE-2021-41991
Published Oct 18, 2021 · Updated Nov 3, 2026
Original summary
Normalized public record · Updated Nov 3, 2026
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.
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- Not available
- Aliases
- None reported
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- GitHub advisory ↗
- www.strongswan.org ↗
- DSA-4989 ↗
- [debian-lts-announce] 20211019 [SECURITY] [DLA 2788-1] strongswan security update ↗
- FEDORA-2021-0b37146973 ↗
- FEDORA-2021-b3df83339e ↗
- FEDORA-2021-95fab6a482 ↗
- cert-portal.siemens.com ↗
Record history
Published Oct 18, 2021 · Last refreshed Nov 3, 2026