Name | CVE-2017-1002201 |
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 | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1986-1, DLA-2864-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-haml (PTS) | bullseye | 5.1.2-2 | fixed |
bookworm | 6.1.1-1 | fixed | |
sid, trixie | 6.1.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-haml | source | jessie | 4.0.5-2+deb8u1 | DLA-1986-1 | ||
ruby-haml | source | stretch | 4.0.7-1+deb9u1 | DLA-2864-1 | ||
ruby-haml | source | (unstable) | 5.0.4-1 |
https://snyk.io/vuln/SNYK-RUBY-HAML-20362
https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2