Vulnerability · Published Dec 7, 2023 · Assigned by mitre
CVE-2023-41913
Critical 9.8
In plain English
A critical-severity buffer overflow in the strongswan package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.3%top 16.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
strongSwan before 5.9.12 has a buffer overflow and possible unauthenticated remote code execution via a DH public value that exceeds the internal buffer in charon-tkm's DH proxy. The earliest affected version is 5.3.0. An attack can occur via a crafted IKE_SA_INIT message.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | strongswan | 5.9.12-r0 | ALPINE-CVE-2023-41913 |
| Alpine:v3.21 | strongswan | 5.9.12-r0 | ALPINE-CVE-2023-41913 |
| Alpine:v3.22 | strongswan | 5.9.12-r0 | ALPINE-CVE-2023-41913 |
| Alpine:v3.23 | strongswan | 5.9.12-r0 | ALPINE-CVE-2023-41913 |
| Alpine:v3.24 | strongswan | 5.9.12-r0 | ALPINE-CVE-2023-41913 |
| Debian:12 | strongswan | 5.9.8-5+deb12u1 | DSA-5560-1 |
| Debian:12 | strongswan | 5.9.8-5+deb12u1 | DEBIAN-CVE-2023-41913 |
| Debian:13 | strongswan | 5.9.12-1 | DEBIAN-CVE-2023-41913 |
| Debian:14 | strongswan | 5.9.12-1 | DEBIAN-CVE-2023-41913 |
| Ubuntu:22.04:LTS | strongswan | 5.9.5-2ubuntu2.2 | UBUNTU-CVE-2023-41913 |
| Ubuntu:22.04:LTS | strongswan | 5.9.5-2ubuntu2.2 | USN-6488-1 |
Affected products (as reported)
Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/strongswan/strongswan/releases
- https://www.strongswan.org/blog/2023/11/20/strongswan-vulnerability-%28cve-2023-41913%29.html
- FEDORA-2024-6712c699fc vendor-advisory
- https://security.netapp.com/advisory/ntap-20250117-0003/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YPJZPYHBCRXUQGGKQE6TYH4J4RIJH6HO/
- https://lists.debian.org/debian-lts-announce/2023/11/msg00018.html