原始 OSV JSON{
"id": "GHSA-q5wr-fvpq-p67g",
"aliases": [
"CVE-2020-28248"
],
"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.",
"summary": "Integer Overflow in png-img",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.0"
}
]
}
],
"package": {
"name": "png-img",
"ecosystem": "npm"
}
}
],
"modified": "2021-07-26T18:09:11Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"published": "2021-12-10T17:23:30Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-28248",
"type": "ADVISORY"
},
{
"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": "WEB"
},
{
"url": "https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img",
"type": "ADVISORY"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-190",
"CWE-787"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-02-20T00:15:00Z",
"github_reviewed_at": "2021-07-26T18:09:11Z"
}
}