Advisory

GHSA-297x-8xj4-vcxv

Also known as: CVE-2020-8141

Summary

Improper Control of Generation of Code in doT

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:11 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

dot

npm · All systems

Affected

  • introduced 0, fixed 1.1.3 (semver)

Fixed versions

1.1.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences