CVE-2023-41913: Buffer Overflow
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 IKESAINIT message.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/strongswanto a version that resolves this vulnerability.Fixed in 5.6.2-1ubuntu2.9+ - Upgrade
Upgrade
ubuntu/strongswanto a version that resolves this vulnerability.Fixed in 5.8.2-1ubuntu3.6 - Upgrade
Upgrade
ubuntu/strongswanto a version that resolves this vulnerability.Fixed in 5.9.5-2ubuntu2.2 - Upgrade
Upgrade
ubuntu/strongswanto a version that resolves this vulnerability.Fixed in 5.9.8-3ubuntu4.1 - Upgrade
Upgrade
ubuntu/strongswanto a version that resolves this vulnerability.Fixed in 5.9.11-1ubuntu1.1 - Upgrade
Upgrade
ubuntu/strongswanto a version that resolves this vulnerability.Fixed in 5.9.12 - Upgrade
Upgrade
ubuntu/strongswanto a version that resolves this vulnerability.Fixed in 5.3.5-1ubuntu3.8+ - Upgrade
Upgrade
debian/strongswanto a version that resolves this vulnerability.Fixed in 5.7.2-1+deb10u4Fixed in 5.9.1-1+deb11u4Fixed in 5.9.8-5+deb12u1Fixed in 5.9.13-2 - Upgrade
Upgrade
strongSwanto a version that resolves this vulnerability.Fixed in 5.9.12
Event History
Frequently Asked Questions
What is the severity of CVE-2023-41913?
CVE-2023-41913 is a high severity vulnerability that can lead to buffer overflow and potential unauthenticated remote code execution.
How do I fix CVE-2023-41913?
To fix CVE-2023-41913, upgrade strongSwan to version 5.9.12 or later.
Which versions of strongSwan are affected by CVE-2023-41913?
strongSwan versions from 5.3.0 up to and including 5.9.11 are affected by CVE-2023-41913.
Can CVE-2023-41913 be exploited remotely?
Yes, CVE-2023-41913 can be exploited remotely through a crafted IKE_SA_INIT message.
What is the impact of CVE-2023-41913?
The impact of CVE-2023-41913 includes possible remote code execution and compromise of the affected system.