GHSA-g9r4-xpmj-mj65 Prototype Pollution in handlebars

Not scored Published
Exploited in the wild
Not known
Fix
Available

What is GHSA-g9r4-xpmj-mj65?

GHSA-g9r4-xpmj-mj65 is a vulnerability in handlebars, published on 4 Sep 2020.

Official description

Versions of handlebars prior to 3.0.8 or 4.5.3 are vulnerable to prototype pollution. It is possible to add or modify properties to the Object prototype through a malicious template. This may allow attackers to crash the application or execute Arbitrary Code in specific conditions.

Recommendation

Upgrade to version 3.0.8, 4.5.3 or later.

Which versions are affected by GHSA-g9r4-xpmj-mj65?

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

PackageAffectedFixed in
handlebars npmAll versions3.0.8
handlebars npmAll versions3.0.8
handlebars npmFrom 4.0.04.5.3
handlebars npmFrom 4.0.04.5.3

How do I fix GHSA-g9r4-xpmj-mj65?

Upgrade handlebars to a fixed version for your release line: 3.0.8 or 4.5.3.

Is GHSA-g9r4-xpmj-mj65 being exploited?

There is no known exploitation of GHSA-g9r4-xpmj-mj65 in the wild and no public exploit code.

Sources

Is GHSA-g9r4-xpmj-mj65 in your software?

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

Check your SBOMs for free