CVE Vulnerabilities

CVE-2018-18585

NULL Pointer Dereference

Published: Oct 23, 2018 | Modified: Nov 21, 2024
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

chmd_read_headers in mspack/chmd.c in libmspack before 0.8alpha accepts a filename that has 0 as its first or second character (such as the /0 name).

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
LibmspackKyzer0.3-alpha (including)0.3-alpha (including)
LibmspackKyzer0.4-alpha (including)0.4-alpha (including)
LibmspackKyzer0.5-alpha (including)0.5-alpha (including)
LibmspackKyzer0.6-alpha (including)0.6-alpha (including)
LibmspackKyzer0.7-alpha (including)0.7-alpha (including)
Red Hat Enterprise Linux 7RedHatlibmspack-0:0.5-0.7.alpha.el7*
ClamavUbuntuesm-infra-legacy/trusty*
ClamavUbuntutrusty*
ClamavUbuntutrusty/esm*
LibmspackUbuntubionic*
LibmspackUbuntucosmic*
LibmspackUbuntuesm-infra-legacy/trusty*
LibmspackUbuntuesm-infra/bionic*
LibmspackUbuntuesm-infra/xenial*
LibmspackUbuntutrusty*
LibmspackUbuntutrusty/esm*
LibmspackUbuntuxenial*

Potential Mitigations

References