Vulnerability · Published Feb 19, 2021 · Assigned by mitre
CVE-2020-28248
High 8.8
In plain English
A high-severity security flaw in the png-img package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)2.2%top 17.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An integer overflow in the PngImg::InitStorage_() function of png-img before 3.1.0 leads to an under-allocation of heap memory and subsequently an exploitable heap-based buffer overflow when loading a crafted PNG file.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | png-img | 3.1.0 | GHSA-q5wr-fvpq-p67g |
Affected products (as reported)
References
- https://github.com/gemini-testing/png-img x_refsource_MISC
- https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d x_refsource_MISC
- https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0 x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img x_refsource_MISC