Skip to content
OpenAdvisories
High · 8.8 CVE-2020-8141 EUVD-2022-1949GHSA-297x-8xj4-vcxv

Improper Control of Generation of Code in doT

Published Mar 15, 2020 · Updated Aug 4, 2024 · Assigned by hackerone

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 products

VendorProductAffectedFixed
— dot 1.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-dot 1.1.3+ds-1 —
Debian 13 node-dot 1.1.3+ds-1 —
Debian 12 node-dot 1.1.3+ds-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm dot < 1.1.3 1.1.3 GHSA-297x-8xj4-vcxv

References