Advisory

GHSA-q5wr-fvpq-p67g

Also known as: CVE-2020-28248

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-12-10 17:23 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

png-img

npm · All systems

Affected

  • introduced 0, fixed 3.1.0 (semver)

Fixed versions

3.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences