GitHub Advisoryadvisory · npm
GHSA-q5wr-fvpq-p67g Integer Overflow in png-img
HIGH
Official page ↗
- Aliases
- CVE-2020-28248
- Ecosystem
- npm
- Packages
- png-img
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-190, CWE-787
- Reviewed
- 2021-07-26
Affected packages
• npm png-img: < 3.1.0 → fixed in 3.1.0
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.
Related
Alias · CVE (1)
- CVE-2020-28248 An integer overflow in the PngImg::InitStorage_() function of png-img before 3.1.0 leads to an under-allocation of heap memory and… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28248 advisory
- https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d web
- https://github.com/gemini-testing/png-img web
- https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0 web
- https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img advisory