CVE-2017-1002201
In haml versions prior to version 5.0.0.beta.2, when using user input ...
Overview
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: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | haml | <5.0.0 | 5.0.05.0.0.beta.2 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-haml | 5.0.4-1 |
| 12 | ruby-haml | 5.0.4-1 |
| 13 | ruby-haml | 5.0.4-1 |
| 14 | ruby-haml | 5.0.4-1 |
| 9 | ruby-haml | 4.0.7-1+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-haml | 5.0.4-1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | ruby-haml | affected |
References
- github.com https://github.com/haml/haml
- github.com https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/haml/CVE-2017-1002201.yml
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-1002201
- security.gentoo.org https://security.gentoo.org/glsa/202007-27
- snyk.io https://snyk.io/vuln/SNYK-RUBY-HAML-20362
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-1002201
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.