[ GLSA 202507-04 ] strongSwan: Buffer Overflow

[email protected] Tue, 08 Jul 2025 22:26:06 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <175201356669.7.11559579374389319899@3f85d36892cf>
--===============6318004969895555201==
Content-Type: text/plain; charset="utf-8"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202507-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: strongSwan: Buffer Overflow
     Date: July 08, 2025
     Bugs: #920105
       ID: 202507-04

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A buffer overflow has been discovered in strongSwan, which can lead to
remote code execution.

Background
==========

strongSwan is an IPSec implementation for Linux.

Affected packages
=================

Package             Vulnerable    Unaffected
------------------  ------------  ------------
net-vpn/strongswan  < 5.9.13      >= 5.9.13

Description
===========

Multiple vulnerabilities have been discovered in strongSwan. Please
review the CVE identifiers referenced below for details.

Impact
======

A vulnerability in charon-tkm related to processing DH public values was
discovered in strongSwan that can result in a buffer overflow and
potentially remote code execution.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All strongSwan users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-vpn/strongswan-5.9.13"

References
==========

[ 1 ] CVE-2023-41913
      https://nvd.nist.gov/vuln/detail/CVE-2023-41913

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202507-04

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2025 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
--===============6318004969895555201==
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmhtmv4ACgkQFMQkOaVy
+9n6nhAAsIGXC3iRh++BTDiogktVSqGP2sY5va3VEjCCT/MjYytwcBsxOlltCOVR
AWoV9F97sMdrkCwY0fPK07816TCght1pywcWgkHBgBriPCdaNTKEoRVw2Clg2o2+
5JAZEh8cR5CjiojdcKXdaYI12X7Tnxqf35Lxluq+5NNGnakX18gD/2sz6eBAB1mn
nillLPbQHYulQgZHHETZA+NsuBO0sbfgkGNjenFtbsziQ+n9k1tVeuEJBpmuIomL
Kg2tKawhgSlFemH48dHiciXOzpQtkvwMKzvyZQWtG9T5vu5sU0ynhSarW07yRys1
ml5fsGjCgApskjEKSUePHJsqZrDFCUpZKxkSwUAGpEqGbtMva+osHfeOZbOaM7te
kOI7WyqJWam3cao3kq+huTg8JN6MYnZu/yDJ2EplPNTDziGx4DdDNRZBLJeXCnWo
hguUO2U+goa4i0lUlC8zlig+fMyd3+u5uk/A7c8e8U3Cf/ZFbvpx7lKwQYP3MEx1
WAtk0H/xT3I3EhhThCldhMS41hngQpdVk01WT5EtNMQqL44aUz9L2d0ukqzJMjx4
xlBQf0hkKxE1rYPyi9JFuHmxxeop0573vZvJauR+SIBSWlXGXyElsjkpGcykn8hx
hueCdbtLfFTcUvFHbG7fyFQfcd4BChbgNuUe/+iSWLVoWm6Hggg=
=Nh9W
-----END PGP SIGNATURE-----

--===============6318004969895555201==--