CVE-2021-41991

strongswan: integer overflow when replacing certificates in cache

Published Oct 18, 2021 CVSS 3.1 · 7.5 High EPSS 5.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2788-1 strongswan security update
Debian DSA Debian DSA DSA-4989-1 strongswan security update
EUVD EUVD EUVD-2021-28981 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.
Ubuntu USN Ubuntu USN USN-5111-1 strongSwan vulnerabilities
Ubuntu USN Ubuntu USN USN-5111-2 strongSwan vulnerability
History

No history.

Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Siemens Cp 1543-1 Cp 1543-1 Firmware Scalance Sc622-2c Scalance Sc622-2c Firmware Scalance Sc632-2c Scalance Sc632-2c Firmware Scalance Sc636-2c Scalance Sc636-2c Firmware Scalance Sc642-2c Scalance Sc642-2c Firmware Scalance Sc646-2c Scalance Sc646-2c Firmware Simatic Cp 1242-7 Gprs V2 Simatic Cp 1242-7 Gprs V2 Firmware Simatic Cp 1243-1 Simatic Cp 1243-1 Firmware Simatic Cp 1243-7 Lte\/us Simatic Cp 1243-7 Lte\/us Firmware Simatic Cp 1542sp-1 Simatic Cp 1542sp-1 Firmware Simatic Cp 1542sp-1 Irc Simatic Cp 1542sp-1 Irc Firmware Simatic Cp 1543sp-1 Simatic Cp 1543sp-1 Firmware Simatic Net Cp1243-7 Lte Eu Simatic Net Cp1243-7 Lte Eu Firmware Simatic Net Cp 1243-8 Irc Simatic Net Cp 1243-8 Irc Firmware Simatic Net Cp 1545-1 Simatic Net Cp 1545-1 Firmware Sinema Remote Connect Server Siplus Et 200sp Cp 1542sp-1 Irc Tx Rail Siplus Et 200sp Cp 1542sp-1 Irc Tx Rail Firmware Siplus Et 200sp Cp 1543sp-1 Isec Siplus Et 200sp Cp 1543sp-1 Isec Firmware Siplus Et 200sp Cp 1543sp-1 Isec Tx Rail Siplus Et 200sp Cp 1543sp-1 Isec Tx Rail Firmware Siplus Net Cp 1543-1 Siplus Net Cp 1543-1 Firmware Siplus S7-1200 Cp 1243-1 Siplus S7-1200 Cp 1243-1 Firmware Siplus S7-1200 Cp 1243-1 Rail Siplus S7-1200 Cp 1243-1 Rail Firmware
Strongswan Strongswan
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 3:22 AM
Reserved
Oct 4, 2021, 12:00 AM
Status
Modified
Published
Oct 18, 2021, 2:15 PM
Modified
Jun 17, 2026, 4:09 AM
Severity
Moderate
Public date
Oct 18, 2021, 12:00 AM