cve.bz

CVE-2019-19919 Prototype Pollution

9.8 criticalEPSS 7.1%Fix available

Critical (9.8). EPSS 7.1% estimated probability of exploitation activity in the next 30 days. Fixed in handlebars 3.0.8, 4.3.0.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
7.1% (unchanged from 7.1% a week ago; 7.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-19919 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19919?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19919?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-19919 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
handlebars.js_project:handlebars.js1.0.6
handlebars.js_project:handlebars.js1.0.7
handlebars.js_project:handlebars.js1.0.8
handlebars.js_project:handlebars.js1.0.9
handlebars.js_project:handlebars.js1.0.10
handlebars.js_project:handlebars.js1.0.11
handlebars.js_project:handlebars.js1.0.12
handlebars.js_project:handlebars.js1.1.0
handlebars.js_project:handlebars.js1.1.1
handlebars.js_project:handlebars.js1.1.2
handlebars.js_project:handlebars.js1.2.0
handlebars.js_project:handlebars.js1.2.1
handlebars.js_project:handlebars.js1.3.0
handlebars.js_project:handlebars.js2.0.0
handlebars.js_project:handlebars.js3.0.0
handlebars.js_project:handlebars.js3.0.1
handlebars.js_project:handlebars.js3.0.2
handlebars.js_project:handlebars.js3.0.3
handlebars.js_project:handlebars.js3.0.4
handlebars.js_project:handlebars.js3.0.5
handlebars.js_project:handlebars.js3.0.6
handlebars.js_project:handlebars.js3.0.7
handlebars.js_project:handlebars.js4.0.0
handlebars.js_project:handlebars.js4.0.1
handlebars.js_project:handlebars.js4.0.2
handlebars.js_project:handlebars.js4.0.3
handlebars.js_project:handlebars.js4.0.4
handlebars.js_project:handlebars.js4.0.5
handlebars.js_project:handlebars.js4.0.6
handlebars.js_project:handlebars.js4.0.7
handlebars.js_project:handlebars.js4.0.8
handlebars.js_project:handlebars.js4.0.9
handlebars.js_project:handlebars.js4.0.10
handlebars.js_project:handlebars.js4.0.11
handlebars.js_project:handlebars.js4.0.12
handlebars.js_project:handlebars.js4.0.13
handlebars.js_project:handlebars.js4.0.14
handlebars.js_project:handlebars.js4.1.0
handlebars.js_project:handlebars.js4.1.1
handlebars.js_project:handlebars.js4.1.2
handlebars.js_project:handlebars.js4.2.0
handlebars.js_project:handlebars.js4.2.1
handlebars.js_project:handlebars.js4.2.2
tenable:tenable.scbefore 5.19.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w457-6q6x-cgp9npmhandlebars>=4.0.0 <4.3.04.3.0
GHSA-w457-6q6x-cgp9RubyGemsbootstrap-wysihtml5-rails>=0.3.3.5 <=0.3.3.8no fix published
GHSA-w457-6q6x-cgp9npmhandlebars<3.0.83.0.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-handlebars3:4.5.3-1DEBIAN-CVE-2019-19919
Ubuntu18.04:LTSnode-handlebarsno fix listedUBUNTU-CVE-2019-19919

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Quay includes Handlebars.js as a development dependency. It does not use Handlebars.js at runtime to process templates so it has been given a low impact rating.

ProductPackageStateAdvisory
RHPAM 7.13.1 asynchandlebarsFixed 2023-03-20RHSA-2023:1334
Red Hat OpenShift Container Platform 3.11kibanaAffected
Red Hat OpenShift Container Platform 4kibanaAffected
Red Hat Quay 3nodejs-handlebarsAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-19919.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON