Out-of-bounds Write Affecting strongswan package, versions <5.6.3-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.52% (77th 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-ALPINE318-STRONGSWAN-5514417
  • published31 May 2018
  • disclosed31 May 2018

Introduced: 31 May 2018

CVE-2018-5388  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-124  (opens in a new tab)

How to fix?

Upgrade Alpine:3.18 strongswan to version 5.6.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream strongswan package and not the strongswan package as distributed by Alpine. See How to fix? for Alpine:3.18 relevant fixed versions and status.

In stroke_socket.c in strongSwan before 5.6.3, a missing packet length check could allow a buffer underflow, which may lead to resource exhaustion and denial of service while reading from the socket.