CVE-2022-45442
HIGH8.8EPSS 0.36%ruby-sinatra - security update
發布日:2022/11/30修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/ruby-sinatrafrom 0, < 2.0.8.1-2+deb11u1
- Debian/ruby-sinatrafrom 0, < 2.0.5-4+deb10u2
- RubyGems/sinatra>= 3.0, < 3.0.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
參考連結(10)
- ADVISORYhttps://github.com/advisories/GHSA-8x94-hmjh-97hq
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-45442
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-45442
- PATCHhttps://github.com/sinatra/sinatra
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-45442.yml
- WEBhttps://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
- WEBhttps://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
- WEBhttps://lists.debian.org/debian-lts-announce/2023/01/msg00005.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
- WEBhttps://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf