Name | CVE-2022-45442 |
Description | Sinatra is a domain-specific language for creating web applications in Ruby. An issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a response when the filename is derived from user-supplied input. Version 2.2.3 and 3.0.4 contain patches for this issue. |
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-3264-1, DLA-3877-1, ELA-787-1 |
Debian Bugs | 1025125 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-sinatra (PTS) | jessie | 1.4.5-1 | vulnerable |
stretch (lts), stretch | 1.4.7-5+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 2.0.5-4+deb10u2 | fixed | |
bullseye | 2.0.8.1-2 | vulnerable | |
bullseye (security) | 2.0.8.1-2+deb11u1 | fixed | |
bookworm | 3.0.5-3 | fixed | |
sid, trixie | 3.2.0-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 | jessie | (unfixed) | end-of-life | ||
ruby-sinatra | source | stretch | 1.4.7-5+deb9u2 | ELA-787-1 | ||
ruby-sinatra | source | buster | 2.0.5-4+deb10u2 | DLA-3264-1 | ||
ruby-sinatra | source | bullseye | 2.0.8.1-2+deb11u1 | DLA-3877-1 | ||
ruby-sinatra | source | (unstable) | 3.0.5-2 | 1025125 |
https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b (v3.0.4)
https://github.com/sinatra/sinatra/commit/1808bcdf3424eab0c659ef2d0e85579aab977a1a (v2.2.3)