ubuntu-cve-2017-1002201
Vulnerability from osv_ubuntu
Published
2019-10-15 18:15
Modified
2025-10-24 04:46
Summary
Details
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.
Severity
6.1 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "ruby-haml",
"binary_version": "4.0.5-2+deb8u1build0.14.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "ruby-haml",
"purl": "pkg:deb/ubuntu/ruby-haml@4.0.5-2+deb8u1build0.14.04.1~esm1?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.0.5-2+deb8u1build0.14.04.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.3-3",
"4.0.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-haml",
"binary_version": "4.0.7-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "ruby-haml",
"purl": "pkg:deb/ubuntu/ruby-haml@4.0.7-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.6-1",
"4.0.7-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-haml",
"binary_version": "4.0.7-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "ruby-haml",
"purl": "pkg:deb/ubuntu/ruby-haml@4.0.7-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.7-1"
]
}
],
"aliases": [],
"details": "In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like \u003c \u003e \" \u0027 must be escaped properly. In this case, the \u0027 character was missed. An attacker can manipulate the input to introduce additional attributes, potentially executing code.",
"id": "UBUNTU-CVE-2017-1002201",
"modified": "2025-10-24T04:46:43Z",
"published": "2019-10-15T18:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-1002201"
},
{
"type": "REPORT",
"url": "https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2"
},
{
"type": "REPORT",
"url": "https://snyk.io/vuln/SNYK-RUBY-HAML-20362"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-1002201"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-1002201"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…