CRITICAL 9.8

CVE-2019-19919

Prototype Pollution in handlebars

Description

Versions of handlebars prior to 3.0.8 or 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Objects' __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.

Recommendation

Upgrade to version 3.0.8, 4.3.0 or later.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » handlebarsvia npm handlebars
< 3.0.8>= 4.0.0, < 4.3.0
3.0.8, 4.3.0
org.webjars » handlebarsvia npm handlebars
< 3.0.8>= 4.0.0, < 4.3.0
3.0.8, 4.3.0
org.webjars.npm » handlebarsvia npm handlebars
< 3.0.8>= 4.0.0, < 4.3.0
3.0.8, 4.3.0

Blast radius

2affected artifacts
37affected versions
114dependent artifacts (est.)
1,906dependent versions

60% of the dependent artifacts (69) still pull an affected version in their latest release.

DepthDependent versions
Direct
216
2 hops
1,284
3 hops
258
4 hops
123
5 hops
15
6 hops
10

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) RubyGems (1 package) . See all on OSV