GHSA-q42p-pg8m-cqh6 Prototype Pollution in handlebars

Not scored Published
Exploited in the wild
Not known
Fix
Available

What is GHSA-q42p-pg8m-cqh6?

GHSA-q42p-pg8m-cqh6 is a vulnerability in handlebars, published on 5 Jun 2019.

Official description

Versions of handlebars prior to 4.0.14 are vulnerable to Prototype Pollution. Templates may alter an Objects' prototype, thus allowing an attacker to execute arbitrary code on the server.

Recommendation

For handlebars 4.1.x upgrade to 4.1.2 or later. For handlebars 4.0.x upgrade to 4.0.14 or later.

Which versions are affected by GHSA-q42p-pg8m-cqh6?

6 open source packages ship an affected version, including handlebars.

PackageAffectedFixed in
handlebars npmAll versions3.0.7
handlebars npmAll versions3.0.7
handlebars npmFrom 4.0.04.0.14
handlebars npmFrom 4.0.04.0.14
handlebars npmFrom 4.1.04.1.2
handlebars npmFrom 4.1.04.1.2

How do I fix GHSA-q42p-pg8m-cqh6?

Upgrade handlebars to a fixed version for your release line: 3.0.7, 4.0.14 or 4.1.2.

Is GHSA-q42p-pg8m-cqh6 being exploited?

There is no known exploitation of GHSA-q42p-pg8m-cqh6 in the wild and no public exploit code.

Sources

Is GHSA-q42p-pg8m-cqh6 in your software?

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

Check your SBOMs for free