Vulnerability Name:

CVE-2018-18586 (CCN-151829)

Assigned:2018-10-22
Published:2018-10-22
Updated:2019-04-03
Summary:** DISPUTED ** chmextract.c in the chmextract sample program, as distributed with libmspack before 0.8alpha, does not protect against absolute/relative pathnames in CHM files, leading to Directory Traversal.
Note: the vendor disputes that this is a libmspack vulnerability, because chmextract.c was only intended as a source-code example, not a supported application.
CVSS v3 Severity:5.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-22
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2018-18586

Source: MISC
Type: Mailing List, Third Party Advisory
https://bugs.debian.org/911639

Source: XF
Type: UNKNOWN
libmspack-cve201818586-dir-traversal(151829)

Source: CCN
Type: libmspack GIT Repository
add anti "../" and leading slash protection to chmextract

Source: MISC
Type: Exploit, Vendor Advisory
https://github.com/kyz/libmspack/commit/7cadd489698be117c47efcadd742651594429e6d

Source: CCN
Type: oss-sec Mailing List, Tue, 23 Oct 2018 20:09:45 +0200
Re: Buffer overflow in cabextract/libmspack (Fwd: New cabextract 1.8 and libmspack 0.8 release)

Source: GENTOO
Type: Third Party Advisory
GLSA-201903-20

Source: MISC
Type: Mailing List, Third Party Advisory
https://www.openwall.com/lists/oss-security/2018/10/22/1

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-18586

Vulnerable Configuration:Configuration 1:
  • cpe:/a:kyzer:libmspack:0.3:alpha:*:*:*:*:*:*
  • OR cpe:/a:kyzer:libmspack:0.4:alpha:*:*:*:*:*:*
  • OR cpe:/a:kyzer:libmspack:0.5:alpha:*:*:*:*:*:*
  • OR cpe:/a:kyzer:libmspack:0.6:alpha:*:*:*:*:*:*
  • OR cpe:/a:kyzer:libmspack:0.7:alpha:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:kyzer:libmspack:1.7:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:201818586
    V
    CVE-2018-18586
    2023-06-22
    oval:org.opensuse.security:def:7621
    P
    libmspack-devel-0.6-3.14.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3750
    P
    perl-Tk-804.031-5.3.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3036
    P
    coreutils-8.25-13.7.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94666
    P
    libmspack-devel-0.6-3.14.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:119122
    P
    Security update for libmspack (Low)
    2022-02-18
    oval:org.opensuse.security:def:67391
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:42201
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:73961
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:101646
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:111877
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:42345
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:76459
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:954
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:64839
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:org.opensuse.security:def:6302
    P
    Security update for libmspack (Low)
    2022-01-13
    oval:com.ubuntu.xenial:def:2018185860000000
    V
    CVE-2018-18586 on Ubuntu 16.04 LTS (xenial) - negligible.
    2018-10-22
    oval:com.ubuntu.bionic:def:201818586000
    V
    CVE-2018-18586 on Ubuntu 18.04 LTS (bionic) - negligible.
    2018-10-22
    oval:com.ubuntu.cosmic:def:201818586000
    V
    CVE-2018-18586 on Ubuntu 18.10 (cosmic) - negligible.
    2018-10-22
    oval:com.ubuntu.cosmic:def:2018185860000000
    V
    CVE-2018-18586 on Ubuntu 18.10 (cosmic) - negligible.
    2018-10-22
    oval:com.ubuntu.trusty:def:201818586000
    V
    CVE-2018-18586 on Ubuntu 14.04 LTS (trusty) - negligible.
    2018-10-22
    oval:com.ubuntu.bionic:def:2018185860000000
    V
    CVE-2018-18586 on Ubuntu 18.04 LTS (bionic) - negligible.
    2018-10-22
    oval:com.ubuntu.xenial:def:201818586000
    V
    CVE-2018-18586 on Ubuntu 16.04 LTS (xenial) - negligible.
    2018-10-22
    BACK
    kyzer libmspack 0.3 alpha
    kyzer libmspack 0.4 alpha
    kyzer libmspack 0.5 alpha
    kyzer libmspack 0.6 alpha
    kyzer libmspack 0.7 alpha
    kyzer libmspack 1.7