Buffer overflow in Pkgconf
CVE-2018-1000221
pkgconf version 1.5.0 to 1.5.2 contains a Buffer Overflow vulnerability in dequote() that can result in dequote() function returns 1-byte allocation if initial length is 0, leading to buffer overflow. This attack appear to be exploitable via specially crafted .pc file. This vulnerability appears to have been fixed in 1.5.3.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.014 (70.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 70.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
Weakness classification (CWE)
References
- git.dereferenced.org/pkgconf/pkgconf/pulls/3 (Third Party Advisory)
Frequently asked questions
- What is CVE-2018-1000221?
- CVE-2018-1000221 is a critical-severity vulnerability in Pkgconf, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2018-08-20.
- How severe is CVE-2018-1000221?
- Critical severity. CVSS v3 base score is 9.8 out of 10.