| Name | CVE-2018-11627 |
| Description | Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| ruby-sinatra (PTS) | bullseye | 2.0.8.1-2 | fixed |
| bullseye (security) | 2.0.8.1-2+deb11u1 | fixed |
| bookworm | 3.0.5-3 | fixed |
| trixie | 4.1.1-5 | fixed |
| sid, forky | 4.2.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ruby-sinatra | source | (unstable) | (not affected) | | | |
Notes
- ruby-sinatra <not-affected> (Vulnerable code not present)
https://github.com/sinatra/sinatra/issues/1428
Introduced by: https://github.com/sinatra/sinatra/commit/8f8df53ff29938ace79b31097c27d9cdac803b44
Fixed by: https://github.com/sinatra/sinatra/commit/12786867d6faaceaec62c7c2cb5b0e2dc074d71a