Vulnerability · Published Mar 15, 2020 · Assigned by hackerone

CVE-2020-8141

High 8.8

In plain English

A high-severity code injection in dot. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)8.8High
Exploit odds (30 days)2.2%top 17.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The dot package v1.1.2 uses Function() to compile templates. This can be exploited by the attacker if they can control the given template or if they can control the value set on Object.prototype.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-dot1.1.3+ds-1DEBIAN-CVE-2020-8141
Debian:13node-dot1.1.3+ds-1DEBIAN-CVE-2020-8141
Debian:14node-dot1.1.3+ds-1DEBIAN-CVE-2020-8141
npmdot1.1.3GHSA-297x-8xj4-vcxv

Affected products (as reported)

VendorProductVersions
n/a dot 1.1.2

Weakness: CWE-94

References