GHSA-4859-gpc7-4j66 Command Injection in dot

Not scored Published

Attackers can execute arbitrary commands via template injection or prototype pollution in the dot library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is GHSA-4859-gpc7-4j66?

GHSA-4859-gpc7-4j66 is a command injection vulnerability in dot, published on 5 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of dot are vulnerable to Command Injection. The template compilation may execute arbitrary commands if an attacker can inject code in the template or if a Prototype Pollution-like vulnerability can be exploited to alter an Object's prototype.

Which versions are affected by GHSA-4859-gpc7-4j66?

2 open source packages ship an affected version, including dot.

PackageAffectedFixed in
dot npmAll versions to 1.1.2None
dot npmAll versions to 1.1.2None

How do I fix GHSA-4859-gpc7-4j66?

No fix has been published for GHSA-4859-gpc7-4j66 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is GHSA-4859-gpc7-4j66 being exploited?

There is no known exploitation of GHSA-4859-gpc7-4j66 in the wild and no public exploit code.

Sources

Is GHSA-4859-gpc7-4j66 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free