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)
| Artifact | Affected versions | Fixed 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
60% of the dependent artifacts (69) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 216 |
| 2 hops | 1,284 |
| 3 hops | 258 |
| 4 hops | 123 |
| 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) RubyGems (1 package) . See all on OSV
References
| Advisory | NVD CVE-2019-19919 | nvd.nist.gov |
| Package | wycats/handlebars.js | github.com |
| Web | wycats/handlebars.js issue #1558 | github.com |
| Web | handlebars-lang/handlebars.js commit 156061e | github.com |
| Web | handlebars-lang/handlebars.js commit 90ad8d9 | github.com |
| Web | wycats/handlebars.js commit 2078c72 | github.com |
| Web | cgi-bin/cvename.cgi | cve.mitre.org |
| Web | Nerian/bootstrap-wysihtml5-rails handlebars.runtime.min.js | github.com |
| Web | Nerian/bootstrap-wysihtml5-rails bootstrap-wysihtml5 | github.com |
| Web | rubysec/ruby-advisory-db CVE-2019-19919.yml | github.com |
| Web | security/tns-2021-14 | tenable.com |
