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

EcosystemPackageFixed inAdvisory
Alpine:v3.20strongswan5.9.12-r0ALPINE-CVE-2023-41913
Alpine:v3.21strongswan5.9.12-r0ALPINE-CVE-2023-41913
Alpine:v3.22strongswan5.9.12-r0ALPINE-CVE-2023-41913
Alpine:v3.23strongswan5.9.12-r0ALPINE-CVE-2023-41913
Alpine:v3.24strongswan5.9.12-r0ALPINE-CVE-2023-41913
Debian:12strongswan5.9.8-5+deb12u1DSA-5560-1
Debian:12strongswan5.9.8-5+deb12u1DEBIAN-CVE-2023-41913
Debian:13strongswan5.9.12-1DEBIAN-CVE-2023-41913
Debian:14strongswan5.9.12-1DEBIAN-CVE-2023-41913
Ubuntu:22.04:LTSstrongswan5.9.5-2ubuntu2.2UBUNTU-CVE-2023-41913
Ubuntu:22.04:LTSstrongswan5.9.5-2ubuntu2.2USN-6488-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References