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.
References
Link | Resource |
---|---|
https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-RUBY-HAML-20362 | Exploit Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202007-27 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html | Mailing List Third Party Advisory |
Information
Published : 2019-10-15 11:15
Updated : 2022-04-05 13:53
NVD link : CVE-2017-1002201
Mitre link : CVE-2017-1002201
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
debian
- debian_linux
haml
- haml