Vulnerabilities / CVE-2023-41913

critical

CVE-2023-41913

strongSwan before 5.9.12 has a buffer overflow and possible unauthenti ...

Published Modified CWE 120
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner, Photon OS. Rated lower by Ubuntu (medium).

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 and fixed versions

SourcePackageFixed in
Azure Linux 3.0strongswan0:5.9.12-1.azl3
CBL-Mariner 2.0strongswan0:5.9.10-3.cm2
Photon OS 3.0strongswan5.6.3-9.ph3
Photon OS 4.0strongswan5.9.8-4.ph4
Photon OS 5.0strongswan5.9.8-4.ph5
alpine 3.17strongswan5.9.12-r0
alpine 3.18strongswan5.9.12-r0
alpine 3.19strongswan5.9.12-r0
alpine 3.20strongswan5.9.12-r0
alpine 3.21strongswan5.9.12-r0
alpine 3.22strongswan5.9.12-r0
alpine 3.23strongswan5.9.12-r0
Show all 30 entries from 30 sources
SourcePackageFixed in
Azure Linux 3.0strongswan0:5.9.12-1.azl3
CBL-Mariner 2.0strongswan0:5.9.10-3.cm2
Photon OS 3.0strongswan5.6.3-9.ph3
Photon OS 4.0strongswan5.9.8-4.ph4
Photon OS 5.0strongswan5.9.8-4.ph5
alpine 3.17strongswan5.9.12-r0
alpine 3.18strongswan5.9.12-r0
alpine 3.19strongswan5.9.12-r0
alpine 3.20strongswan5.9.12-r0
alpine 3.21strongswan5.9.12-r0
alpine 3.22strongswan5.9.12-r0
alpine 3.23strongswan5.9.12-r0
alpine 3.24strongswan5.9.12-r0
alpine edgestrongswan5.9.12-r0
debian 10strongswan5.7.2-1+deb10u4
debian 11strongswan5.9.1-1+deb11u4
debian 12strongswan5.9.8-5+deb12u1
debian 13strongswan5.9.12-1
debian 14strongswan5.9.12-1
echostrongswan5.9.8-5+deb12u1
rapidfort ubuntu 20.04strongswan0:5.9.5-2ubuntu2.2
rapidfort ubuntu 22.04strongswan0:5.9.5-2ubuntu2.2
rapidfort ubuntu 24.04strongswan0:5.9.5-2ubuntu2.2
ubuntu 16.04-ESMstrongswan5.3.5-1ubuntu3.8+esm4
ubuntu 18.04-ESMstrongswan5.6.2-1ubuntu2.9+esm1
ubuntu 20.04strongswan5.8.2-1ubuntu3.6
ubuntu 20.04-ESMstrongswan5.8.2-1ubuntu3.6
ubuntu 22.04strongswan5.9.5-2ubuntu2.2
ubuntu 23.04strongswan5.9.8-3ubuntu4.1
ubuntu 23.10strongswan5.9.11-1ubuntu1.1

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.