CVE-2014-7192 Potential for Script Injection in syntax-error

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code via a crafted file due to eval injection in the syntax-error Node.js library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2014-7192?

CVE-2014-7192 is a critical code injection vulnerability in n/a, published on 11 Dec 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Eval injection vulnerability in index.js in the syntax-error package before 1.1.1 for Node.js 0.10.x, as used in IBM Rational Application Developer and other products, allows remote attackers to execute arbitrary code via a crafted file.

Weakness: CWE-94

Which versions are affected by CVE-2014-7192?

2 open source packages ship an affected version, including syntax-error. It affects 1 product.

PackageAffectedFixed in
syntax-error npmAll versions1.1.1
syntax-error npmAll versions1.1.1

Products include Joyent Node.js.

How do I fix CVE-2014-7192?

Upgrade syntax-error to 1.1.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2014-7192 being exploited?

There is no known exploitation of CVE-2014-7192 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-5726-g6r9-5f22, UBUNTU-CVE-2014-7192.

Is CVE-2014-7192 in your software?

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

Check your SBOMs for free