Vulnerability Details : CVE-2017-1002201
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2017-1002201
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:haml:haml:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-1002201
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 62 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-1002201
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2017-1002201
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-1002201
-
https://snyk.io/vuln/SNYK-RUBY-HAML-20362
Cross-site Scripting (XSS) in haml | SnykExploit;Patch;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html
[SECURITY] [DLA 2864-1] ruby-haml security updateMailing List;Third Party Advisory
-
https://security.gentoo.org/glsa/202007-27
Haml: Arbitrary code execution (GLSA 202007-27) — Gentoo securityThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html
[SECURITY] [DLA 1986-1] ruby-haml security updateMailing List;Third Party Advisory
-
https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2
Always escape `'` in Haml::Helpers.#html_escape. · haml/haml@18576ae · GitHubPatch;Third Party Advisory
Jump to