Debian 9942 Published by

A strongswan security update has been released for Debian GNU/Linux 11 and 12 to address a bug causing a buffer overflow that could potentially be exploited for remote code execution.



[SECURITY] [DSA 5560-1] strongswan security update


- --------------------------------------------------------------------------
Debian Security Advisory DSA-5560-1 security@debian.org
https://www.debian.org/security/ Yves-Alexis Perez
November 20, 2023 https://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package : strongswan
CVE ID : CVE-2023-41913

Florian Picca reported a bug the charon-tkm daemon in strongSwan an IKE/IPsec
suite.

The TKM-backed version of the charon IKE daemon (charon-tkm) doesn't
check the length of received Diffie-Hellman public values before copying
them to a fixed-size buffer on the stack, causing a buffer overflow that
could potentially be exploited for remote code execution by sending a
specially crafted and unauthenticated IKE_SA_INIT message.

For the oldstable distribution (bullseye), this problem has been fixed
in version 5.9.1-1+deb11u4.

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

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/