Vulnerabilities · 2021 · Strongswan
CVE-2021-41991
Strongswan vulnerability
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 products
Strongswan, Debian Linux, Fedora, Sinema Remote Connect Server, Siplus Et 200sp Cp 1542sp-1 Irc Tx Rail Firmware, Simatic Cp 1243-1 Firmware, Simatic Cp 1242-7 Gprs V2 Firmware, Simatic Net Cp 1243-8 Irc Firmware, Scalance Sc632-2c Firmware, Siplus Et 200sp Cp 1543sp-1 Isec Firmware and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Strongswan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cert-portal.siemens.com/productcert/pdf/ssa-539476.pdf · Patch
- github.com/strongswan/strongswan/releases/tag/5.9.4 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/10/msg00014.html · Third Party Advisory
- www.debian.org/security/2021/dsa-4989 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y
- www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-%28cve-2021-41991%29.html
- nvd.nist.gov/vuln/detail/CVE-2021-41991
- cve.org/CVERecord?id=CVE-2021-41991
More vulnerabilities in Strongswan products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.