Debian dsa-6041 : charon-cmd - security update

critical Nessus Plugin ID 271730

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 12 / 13 host has packages installed that are affected by a vulnerability as referenced in the dsa-6041 advisory.

- ------------------------------------------------------------------------- Debian Security Advisory DSA-6041-1 [email protected] https://www.debian.org/security/ Yves-Alexis Perez October 27, 2025 https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package : strongswan CVE ID : CVE-2025-62291

Xu Biang discovered a buffer overflow bug in the eap-mschapv2 plugin of strongSwan, an IKE/IPsec suite.

The eap-mschapv2 plugin doesn't correctly check the length of an EAP-MSCHAPv2 Failure Request packet on the client, which can cause an integer underflow that leads to a crash, and a heap-based buffer overflow that's potentially exploitable for remote code execution.

For the oldstable distribution (bookworm), this problem has been fixed in version 5.9.8-5+deb12u2.

For the stable distribution (trixie), this problem has been fixed in version 6.0.1-6+deb13u2.

We recommend that you upgrade your strongswan packages.

For the detailed security status of strongswan please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/strongswan

Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: https://www.debian.org/security/

Mailing list: [email protected]

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the charon-cmd packages.

See Also

https://security-tracker.debian.org/tracker/source-package/strongswan

https://security-tracker.debian.org/tracker/CVE-2025-62291

https://packages.debian.org/source/bookworm/strongswan

https://packages.debian.org/source/trixie/strongswan

Plugin Details

Severity: Critical

ID: 271730

File Name: debian_DSA-6041.nasl

Version: 1.1

Type: local

Agent: unix

Published: 10/28/2025

Updated: 10/28/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2025-62291

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:strongswan-starter, p-cpe:/a:debian:debian_linux:strongswan-charon, p-cpe:/a:debian:debian_linux:charon-systemd, p-cpe:/a:debian:debian_linux:libcharon-extra-plugins, p-cpe:/a:debian:debian_linux:libstrongswan-standard-plugins, p-cpe:/a:debian:debian_linux:libstrongswan-extra-plugins, p-cpe:/a:debian:debian_linux:strongswan-nm, p-cpe:/a:debian:debian_linux:charon-cmd, p-cpe:/a:debian:debian_linux:strongswan-pki, p-cpe:/a:debian:debian_linux:strongswan-libcharon, p-cpe:/a:debian:debian_linux:libcharon-extauth-plugins, p-cpe:/a:debian:debian_linux:strongswan, p-cpe:/a:debian:debian_linux:libstrongswan, cpe:/o:debian:debian_linux:12.0, cpe:/o:debian:debian_linux:13.0, p-cpe:/a:debian:debian_linux:strongswan-swanctl

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/27/2025

Vulnerability Publication Date: 10/27/2025

Reference Information

CVE: CVE-2025-62291