CVE-2023-41913

Publication date 20 November 2023

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
strongswan 23.10 mantic
Fixed 5.9.11-1ubuntu1.1
23.04 lunar
Fixed 5.9.8-3ubuntu4.1
22.04 LTS jammy
Fixed 5.9.5-2ubuntu2.2
20.04 LTS focal
Fixed 5.8.2-1ubuntu3.6
18.04 LTS bionic
16.04 LTS xenial
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

Notes


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 9.8 · Critical
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

Other references