UBUNTU-CVE-2019-20920

See a problem?
Source
https://ubuntu.com/security/CVE-2019-20920
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20920.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-20920
Related
Published
2020-09-30T18:15:00Z
Modified
2024-10-15T14:07:15Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L CVSS Calculator
Summary
[none]
Details

Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3:4.*

3:4.0.10-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-handlebars

Package

Name
node-handlebars
Purl
pkg:deb/ubuntu/node-handlebars?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3:4.7.2-1

Affected versions

3:4.*

3:4.1.0-1
3:4.5.3-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3:4.7.2-1",
            "binary_name": "handlebars"
        },
        {
            "binary_version": "3:4.7.2-1",
            "binary_name": "libjs-handlebars"
        },
        {
            "binary_version": "3:4.7.2-1",
            "binary_name": "libjs-handlebars.runtime"
        }
    ]
}