Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXE1d3ItZnZwcS1wNjdn

Integer Overflow in png-img

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.

Permalink: https://github.com/advisories/GHSA-q5wr-fvpq-p67g
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXE1d3ItZnZwcS1wNjdn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year ago


CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Identifiers: GHSA-q5wr-fvpq-p67g, CVE-2020-28248
References: Repository: https://github.com/gemini-testing/png-img
Blast Radius: 17.6

Affected Packages

npm:png-img
Dependent packages: 11
Dependent repositories: 101
Downloads: 1,399 last month
Affected Version Ranges: < 3.1.0
Fixed in: 3.1.0
All affected versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.3.0, 3.0.0
All unaffected versions: 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 4.0.0, 4.0.1, 4.0.3, 4.0.4, 4.1.0, 5.0.0, 5.0.1