6.5
MEDIUM
CVE-2018-5388
StrongSwan Buffer Underflow Denial of Service
Description

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.

INFO

Published Date :

May 31, 2018, 1:29 p.m.

Last Modified :

Nov. 21, 2024, 4:08 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2018-5388 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Ietf internet_key_exchange
1 Strongswan strongswan
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-5388.

URL Resource
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html
http://www.kb.cert.org/vuls/id/338343 Third Party Advisory US Government Resource
http://www.securityfocus.com/bid/104263 Third Party Advisory VDB Entry
https://git.strongswan.org/?p=strongswan.git%3Ba=commitdiff%3Bh=0acd1ab4
https://security.gentoo.org/glsa/201811-16 Third Party Advisory
https://usn.ubuntu.com/3771-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4229 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html
http://www.kb.cert.org/vuls/id/338343 Third Party Advisory US Government Resource
http://www.securityfocus.com/bid/104263 Third Party Advisory VDB Entry
https://git.strongswan.org/?p=strongswan.git%3Ba=commitdiff%3Bh=0acd1ab4
https://security.gentoo.org/glsa/201811-16 Third Party Advisory
https://usn.ubuntu.com/3771-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4229 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-5388 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-5388 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
    Added Reference http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html
    Added Reference http://www.kb.cert.org/vuls/id/338343
    Added Reference http://www.securityfocus.com/bid/104263
    Added Reference https://git.strongswan.org/?p=strongswan.git%3Ba=commitdiff%3Bh=0acd1ab4
    Added Reference https://security.gentoo.org/glsa/201811-16
    Added Reference https://usn.ubuntu.com/3771-1/
    Added Reference https://www.debian.org/security/2018/dsa-4229
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference CERT/CC https://git.strongswan.org/?p=strongswan.git%3Ba=commitdiff%3Bh=0acd1ab4 [No types assigned]
    Removed Reference CERT/CC https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0acd1ab4
  • CVE Modified by [email protected]

    Jun. 12, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 30, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 01, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 01, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE CERT/CC CWE-124
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-119 CWE-400 CWE-787
  • Modified Analysis by [email protected]

    Mar. 05, 2019

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/201811-16 No Types Assigned https://security.gentoo.org/glsa/201811-16 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3771-1/ No Types Assigned https://usn.ubuntu.com/3771-1/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    Nov. 27, 2018

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201811-16 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 26, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3771-1/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 09, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:S/C:N/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type http://www.securityfocus.com/bid/104263 No Types Assigned http://www.securityfocus.com/bid/104263 Third Party Advisory, VDB Entry
    Changed Reference Type https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0acd1ab4 No Types Assigned https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0acd1ab4 Vendor Advisory
    Changed Reference Type http://www.kb.cert.org/vuls/id/338343 No Types Assigned http://www.kb.cert.org/vuls/id/338343 Third Party Advisory, US Government Resource
    Changed Reference Type https://www.debian.org/security/2018/dsa-4229 No Types Assigned https://www.debian.org/security/2018/dsa-4229 Third Party Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:* versions up to (excluding) 5.6.3
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jun. 18, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4229 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 02, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/104263 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-5388 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-5388 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.52 }} -0.05%

score

0.76594

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability