CVE-2019-19919: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
(updated )
Versions of handlebars prior to 4.3.0 is 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.
References
- cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19919
- github.com/Nerian/bootstrap-wysihtml5-rails/blob/master/vendor/assets/javascripts/bootstrap-wysihtml5/handlebars.runtime.min.js
- github.com/Nerian/bootstrap-wysihtml5-rails/tree/master/vendor/assets/javascripts/bootstrap-wysihtml5
- github.com/advisories/GHSA-w457-6q6x-cgp9
- github.com/handlebars-lang/handlebars.js/commit/156061eb7707575293613d7fdf90e2bdaac029ee
- github.com/handlebars-lang/handlebars.js/commit/90ad8d97ad2933852fb83fcc054699dc99e094db
- github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-wysihtml5-rails/CVE-2019-19919.yml
- github.com/wycats/handlebars.js/commit/2078c727c627f25d4a149962f05c1e069beb18bc
- github.com/wycats/handlebars.js/issues/1558
- nvd.nist.gov/vuln/detail/CVE-2019-19919
- www.tenable.com/security/tns-2021-14
Detect and mitigate CVE-2019-19919 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →