{"id":"CVE-2019-20922","aliases":["EUVD-2022-0849","GHSA-62gr-4qp9-h98f","RHSA-2020:5179","SNYK-JS-HANDLEBARS-480388","UBUNTU-CVE-2019-20922"],"status":"published","title":"Regular Expression Denial of Service in Handlebars","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03691,"percentile":0.89782,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2020-09-30T12:30:22Z","modified":"2026-10-20T10:52:40Z","fixes":[{"ecosystem":"npm","package":"handlebars","fixed_in":["4.4.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"handlebars","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.4.5"}]}]},{"source":"osv","ecosystem":"npm","package":"handlebars","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.4.5"}]}]},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-web-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.5-1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-backend","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-dbscripts","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-health-check-bundler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-restapi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup-base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup-plugin-cinderlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup-plugin-imageio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup-plugin-ovirt-engine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup-plugin-ovirt-engine-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup-plugin-vmconsole-proxy-helper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-setup-plugin-websocket-proxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-tools-backup","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-vmconsole-proxy-helper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-webadmin-portal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"ovirt-engine-websocket-proxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"python3-ovirt-engine-lib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhev_manager:4.4:el8","package":"rhvm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.4.3.8-0.1.el8ev"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-handlebars","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3:4.0.10-5"]}],"products":[{"vendor":"handlebarsjs","product":"handlebars"}],"references":[{"url":"https://www.npmjs.com/advisories/1300","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","article","report"]},{"url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20922","tags":["advisory"]},{"url":"https://www.npmjs.com/package/handlebars","tags":["web"]},{"url":"https://github.com/advisories/GHSA-62gr-4qp9-h98f"},{"url":"https://access.redhat.com/errata/RHSA-2020:5179","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1613514","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1657294","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1691253","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1702016","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1752751","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1760170","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1797717","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1808320","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1811466","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1812316","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1822372","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1825020","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1828241","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1829691","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1842344","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1845432","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1851865","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1854888","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1855305","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1856671","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1857412","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1859314","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1862101","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1866981","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1870133","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1871694","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1872911","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1873136","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1876923","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1877632","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1877679","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1879199","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1879280","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1879377","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1881634","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1882256","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1882260","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1883844","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1884146","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1884634","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1885976","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1887268","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1888626","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1889522","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_5179.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20920","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20920","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20920","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/1316","tags":["article"]},{"url":"https://www.npmjs.com/advisories/1324","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-20922","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-20922","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-8203","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8203","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8203","tags":["advisory"]},{"url":"https://hackerone.com/reports/712065","tags":["article"]},{"url":"https://www.npmjs.com/advisories/1523","tags":["article"]},{"url":"https://ubuntu.com/security/CVE-2019-20922","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-20922","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","status":"published","published":"2020-09-30T12:30:22Z","modified":"2024-08-05T03:00:18.954Z","updated_at":"2026-11-02T14:20:17.11067Z"}],"euvd":[{"id":"EUVD-2022-0849","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","status":"published","published":"2020-09-30T12:30:22Z","modified":"2024-08-05T03:00:18Z","updated_at":"2026-11-03T02:40:19.824838Z"}],"ghsa":[{"id":"GHSA-62gr-4qp9-h98f","title":"Regular Expression Denial of Service in Handlebars","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","status":"published","published":"2022-02-10T20:38:22Z","modified":"2023-11-29T20:32:12Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:37:22.840002Z"}],"nvd":[{"id":"CVE-2019-20922","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","status":"published","published":"2020-09-30T18:15:18.1Z","modified":"2026-06-17T02:31:26.647Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:05:47.558959Z"}],"osv":[{"id":"CVE-2019-20922","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","status":"published","published":"2020-09-30T18:15:18.1Z","modified":"2026-10-20T10:52:40.802337628Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:12.363788Z"},{"id":"GHSA-62gr-4qp9-h98f","title":"Regular Expression Denial of Service in Handlebars","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","status":"published","published":"2022-02-10T20:38:22Z","modified":"2026-07-08T06:49:32.364286317Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:38.911014Z"},{"id":"RHSA-2020:5179","title":"Red Hat Security Advisory: Red Hat Virtualization security, bug fix, and enhancement update","status":"published","published":"2024-09-14T00:41:25Z","modified":"2026-10-13T10:01:57Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:53:07.57369Z"},{"id":"UBUNTU-CVE-2019-20922","description":"Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.","status":"published","published":"2020-09-30T18:15:00Z","modified":"2025-10-24T04:48:10Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:21.213407Z"}]}}
