CVE-2019-19919
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
Versions of handlebars prior to 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Object's __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 3:4.5.3-1 |
| debian | bullseye | fixed | 3:4.5.3-1 |
| debian | forky | fixed | 3:4.5.3-1 |
| debian | sid | fixed | 3:4.5.3-1 |
| debian | trixie | fixed | 3:4.5.3-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | bootstrap-wysihtml5-rails | !< 0.3.3.5 | |
| npm | handlebars | >=4.0.0,<4.3.0 | 4.3.0 |
| RubyGems | bootstrap-wysihtml5-rails | >=0.3.3.5,<=0.3.3.8 | |
| npm | handlebars | <3.0.8 | 3.0.8 |
References
- https://github.com/advisories/GHSA-w457-6q6x-cgp9
- https://nvd.nist.gov/vuln/detail/CVE-2019-19919
- https://github.com/wycats/handlebars.js/issues/1558
- https://github.com/handlebars-lang/handlebars.js/commit/156061eb7707575293613d7fdf90e2bdaac029ee
- https://github.com/handlebars-lang/handlebars.js/commit/90ad8d97ad2933852fb83fcc054699dc99e094db
- https://github.com/wycats/handlebars.js/commit/2078c727c627f25d4a149962f05c1e069beb18bc
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19919
- https://github.com/Nerian/bootstrap-wysihtml5-rails/blob/master/vendor/assets/javascripts/bootstrap-wysihtml5/handlebars.runtime.min.js
- https://github.com/Nerian/bootstrap-wysihtml5-rails/tree/master/vendor/assets/javascripts/bootstrap-wysihtml5
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-wysihtml5-rails/CVE-2019-19919.yml
- https://github.com/wycats/handlebars.js
- https://www.tenable.com/security/tns-2021-14
- https://security-tracker.debian.org/tracker/CVE-2019-19919
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.