CVE-2023-41913
Publication date 20 November 2023
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| strongswan | ||
| 22.04 LTS jammy |
Fixed 5.9.5-2ubuntu2.2
|
|
| 20.04 LTS focal |
Fixed 5.8.2-1ubuntu3.6
|
|
| 18.04 LTS bionic |
Fixed 5.6.2-1ubuntu2.9+esm1
|
|
| 16.04 LTS xenial |
Fixed 5.3.5-1ubuntu3.8+esm4
|
|
| 14.04 LTS trusty |
Not affected
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
mdeslaur
After the USN was published, it was discovered that the Ubuntu packages aren't built with --enable-tkm, so the vulnerable code isn't built at all. If this is enabled in the future, the jammy and earlier patches (inlcuding esm) need to be fixed to use diffie_hellman_verify_value() instead of key_exchange_verify_pubkey() for those older versions. Marking remaining releases as "not-affected"
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-6488-1
- strongSwan vulnerability
- 20 November 2023
- USN-6488-2
- strongSwan vulnerability
- 14 December 2023