Stack-based Buffer Overflow Affecting strongswan package, versions [5.3.0,5.9.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.73% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-STRONGSWAN-6102496
  • published7 Dec 2023
  • disclosed7 Dec 2023
  • creditFlorian Picca

Introduced: 7 Dec 2023

CVE-2023-41913  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade strongswan to version 5.9.12 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow that could allow code execution via a malicious IKE_SA_INIT message that includes a DH public value exceeding the internal buffer size in charon-tkm's DH proxy.

NOTE: This is only exploitable if charon-tkm is in use as an IKE daemon.

CVSS Scores

version 3.1