Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0yOTd4LTh4ajQtdmN4ds4AAj6G
Improper Control of Generation of Code in doT
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.
Permalink: https://github.com/advisories/GHSA-297x-8xj4-vcxvJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yOTd4LTh4ajQtdmN4ds4AAj6G
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: about 1 year ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-297x-8xj4-vcxv, CVE-2020-8141
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-8141
- https://hackerone.com/reports/390929
- https://github.com/advisories/GHSA-297x-8xj4-vcxv
Affected Packages
npm:dot
Dependent packages: 720Dependent repositories: 72,096
Downloads: 1,800,625 last month
Affected Version Ranges: <= 1.1.2
Fixed in: 1.1.3
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.1.1, 1.1.2
All unaffected versions: 1.1.3