CVE-2020-25613: An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1.
High CVSS 7.5
- CVE id
- CVE-2020-25613
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Ruby Runtimes and servers |
<= 2.5.8 >= 2.6.0, <= 2.6.6 >= 2.7.0, <= 2.7.1 |
after 2.5.8, 2.6.6, 2.7.1 |
How to fix it
Upgrade Ruby to a release newer than the last affected update of the line you run (2.5.8, 2.6.6, 2.7.1).
ruby --version
- Install the patched Ruby release of your minor line (rbenv, the ruby image tag) and update .ruby-version.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP server bundled with Ruby, had not checked the transfer-encoding header value rigorously. An attacker may potentially exploit this issue to bypass a reverse proxy (which also has a poor header check), which may lead to an HTTP Request Smuggling attack.
References
- CVE-2020-25613 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-25613
- Web: https://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7
- Web: https://hackerone.com/reports/965267
- Web: https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV/
- Web: https://security.gentoo.org/glsa/202401-27
- Web: https://security.netapp.com/advisory/ntap-20210115-0008/
- Web: https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613/
- Web: https://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7
- Web: https://hackerone.com/reports/965267
- Web: https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV/
- Web: https://security.gentoo.org/glsa/202401-27
- Web: https://security.netapp.com/advisory/ntap-20210115-0008/
- Web: https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.