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)
| Artifact | Affected versions | Fixed 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.
| Depth | Dependent versions |
|---|---|
| Direct | 220 |
| 2 hops | 1,342 |
| 3 hops | 315 |
| 4 hops | 134 |
| 5 hops | 15 |
| 6 hops | 10 |
Most used dependents
- org.kuali.rice » rice-impl65 usages
- ro.isdc.wro4j » wro4j-maven-plugin48 usages
- ro.isdc.wro4j » wro4j-extensions39 usages
- org.kuali.rice » rice-krad-web-framework38 usages
- org.kuali.rice » rice-core-impl28 usages
- org.kuali.rice » rice-edl-impl24 usages
- com.foreach.across.modules » admin-web-module21 usages
- net.aequologica.neo » geppaequo-tags15 usages
- org.nuiton.js » nuiton-js-test12 usages
- com.evolveum.midpoint.gui » admin-gui10 usages
- com.foreach.across.modules » bootstrap-ui-module7 usages
- org.wisdom-framework » wisdom-monitor7 usages
- net.aequologica.neo » geppaequo-web7 usages
- com.github.avarabyeu.jashing » jashing7 usages
- com.xebialabs.xl-test » server7 usages
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
References
| Advisory | NVD CVE-2021-23369 | nvd.nist.gov |
| Package | wycats/handlebars.js | github.com |
| Web | handlebars-lang/handlebars.js commit b6d3de7 | github.com |
| Web | handlebars-lang/handlebars.js commit f058970 | github.com |
| Web | advisory/ntap-20210604-0008 | security.netapp.com |
| Web | vuln/SNYK-JAVA-ORGWEBJARS-1074950 | snyk.io |
| Web | vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951 | snyk.io |
| Web | vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952 | snyk.io |
| Web | vuln/SNYK-JS-HANDLEBARS-1056767 | snyk.io |
