{"id":"GHSA-q5wr-fvpq-p67g","summary":"Integer Overflow in png-img","details":"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.","aliases":["CVE-2020-28248"],"modified":"2023-11-08T04:03:24.222139Z","published":"2021-12-10T17:23:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-07-26T18:09:11Z","nvd_published_at":"2021-02-20T00:15:00Z","cwe_ids":["CWE-190","CWE-787"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28248"},{"type":"WEB","url":"https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d"},{"type":"WEB","url":"https://github.com/gemini-testing/png-img"},{"type":"WEB","url":"https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img"}],"affected":[{"package":{"name":"png-img","ecosystem":"npm","purl":"pkg:npm/png-img"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-q5wr-fvpq-p67g/GHSA-q5wr-fvpq-p67g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}