CVE-2017-1002201

NameCVE-2017-1002201
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1986-1, DLA-2864-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-haml (PTS)bullseye5.1.2-2fixed
bookworm6.1.1-1fixed
sid, trixie6.1.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-hamlsourcejessie4.0.5-2+deb8u1DLA-1986-1
ruby-hamlsourcestretch4.0.7-1+deb9u1DLA-2864-1
ruby-hamlsource(unstable)5.0.4-1

Notes

https://snyk.io/vuln/SNYK-RUBY-HAML-20362
https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2

Search for package or bug name: Reporting problems