CRITICAL 9.8

CVE-2021-23369

Remote code execution in handlebars when compiling templates

Description

The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Affected Maven artifacts (4)

ArtifactAffected versionsFixed in
org.webjars » handlebars
< 4.7.7
4.7.7
org.webjars.bowergithub.wycats » handlebars.js
< 4.7.7
4.7.7
org.webjars.npm » handlebars
< 4.7.7
4.7.7
org.mvnpm » handlebarsvia npm handlebars
< 4.7.7
4.7.7
org.webjars » handlebarsvia npm handlebars
< 4.7.7
4.7.7
org.webjars.npm » handlebarsvia npm handlebars
< 4.7.7
4.7.7

Blast radius

3affected artifacts
51affected versions
115dependent artifacts (est.)
2,036dependent versions

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

DepthDependent versions
Direct
220
2 hops
1,342
3 hops
315
4 hops
134
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) . See all on OSV