Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. dot
  4. ›
  5. CVE-2020-8141

CVE-2020-8141: Code Injection

March 15, 2020 (updated March 17, 2020)

The dot package 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-8141

Code Behaviors & Features

Detect and mitigate CVE-2020-8141 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 1.1.2

Fixed versions

  • 1.1.3

Solution

Upgrade to version 1.1.3 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/dot/CVE-2020-8141.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.