ALPINE-CVE-2018-18586

Source
https://security.alpinelinux.org/vuln/CVE-2018-18586
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-18586.json
JSON Data
https://api.test.osv.dev/v1/vulns/ALPINE-CVE-2018-18586
Upstream
Published
2018-10-23T02:29:00.700Z
Modified
2025-11-14T04:20:46.557169Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Alpine:v3.10

libmspack

Package

Name
libmspack
Purl
pkg:apk/alpine/libmspack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8_alpha-r0

Affected versions

0.*

0.5_alpha-r1
0.7.1_alpha-r0

Alpine:v3.11

libmspack

Package

Name
libmspack
Purl
pkg:apk/alpine/libmspack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8_alpha-r0

Affected versions

0.*

0.5_alpha-r1
0.7.1_alpha-r0

Alpine:v3.6

libmspack

Package

Name
libmspack
Purl
pkg:apk/alpine/libmspack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8_alpha-r0

Affected versions

0.*

0.5_alpha-r1
0.7.1_alpha-r0

Alpine:v3.7

libmspack

Package

Name
libmspack
Purl
pkg:apk/alpine/libmspack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8_alpha-r0

Affected versions

0.*

0.5_alpha-r1
0.7.1_alpha-r0

Alpine:v3.8

libmspack

Package

Name
libmspack
Purl
pkg:apk/alpine/libmspack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8_alpha-r0

Affected versions

0.*

0.5_alpha-r1
0.7.1_alpha-r0

Alpine:v3.9

libmspack

Package

Name
libmspack
Purl
pkg:apk/alpine/libmspack?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8_alpha-r0

Affected versions

0.*

0.5_alpha-r1
0.7.1_alpha-r0