National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-1002201 Detail

Current Description

In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like < > " ' must be escaped properly. In this case, the ' character was missed. An attacker can manipulate the input to introduce additional attributes, potentially executing code.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 6.1 MEDIUM
Vector:  CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2 Patch
https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html
https://snyk.io/vuln/SNYK-RUBY-HAML-20362 Exploit Patch Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:haml:haml:*:*:*:*:*:ruby:*:*
     Show Matching CPE(s)
Up to (excluding)
5.0.0
 cpe:2.3:a:haml:haml:5.0.0:-:*:*:*:ruby:*:*
     Show Matching CPE(s)


Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-1002201
NVD Published Date:
10/15/2019
NVD Last Modified:
11/10/2019