7.5high
Rack has possible DoS Vulnerability in Multipart MIME parsing
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.83% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- GHSA-3h57-hmj3-gj3p
Description
A DoS vulnerability exists in Rack <v3.0.4.2, <v2.2.6.3, <v2.1.4.3 and <v2.0.9.3 within in the Multipart MIME parsing code in which could allow an attacker to craft requests that can be abuse to cause multipart parsing to take longer than expected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/rack/rack | 3.0.4.2, 2.2.6.3, 2.1.4.3, 2.0.9.3 | CVE List |
| rack (RubyGems) | before 2.0.9.3, from 2.1.0 before 2.1.4.3, from 2.2.0 before 2.2.6.3, from 3.0.0 before 3.0.4.2 | GitHub Advisory Database |
| rack rack | before 2.0.9.3, from 2.1.0 before 2.1.4.3, from 2.2.0 before 2.2.6.3, from 3.0.0 before 3.0.4.2 | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
A DoS vulnerability exists in Rack <v3.0.4.2, <v2.2.6.3, <v2.1.4.3 and <v2.0.9.3 within in the Multipart MIME parsing code in which could allow an attacker to craft requests that can be abuse to cause multipart parsing to take longer than expected.
GitHub Advisory Database
There is a possible DoS vulnerability in the Multipart MIME parsing code in Rack. This vulnerability has been assigned the CVE identifier CVE-2023-27530.
Versions Affected: All. Not affected: None Fixed Versions: 3.0.4.2, 2.2.6.3, 2.1.4.3, 2.0.9.3
Impact
The Multipart MIME parsing code in Rack limits the number of file parts, but does not limit the total number of parts that can be uploaded. Carefully crafted requests can abuse this and cause multipart parsing to take longer than expected.
All users running an affected release should either upgrade or use one of the workarounds immediately.
Workarounds
A proxy can be configured to limit the POST body size which will mitigate this issue.
NVD (es)
Una vulnerabilidad de DoS existe en Rack anterior a v3.0.4.2, anterior a v2.2.6.3, anterior a v2.1.4.3 y anterior a v2.0.9.3 dentro del código de análisis de MIME multiparte, en el que podría permitir a un atacante crear solicitudes que pueden ser abusadas para hacer que el análisis multiparte tarde más de lo esperado.
References
| https://discuss.rubyonrails.org/t/cve-2023-27530-possible-dos-vulnerability-in-multipart-mime-parsing/82388 | patch, vendor-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2023/04/msg00017.html | mailing-list, third-party-advisory, web | |
| https://www.debian.org/security/2023/dsa-5530 | third-party-advisory, vendor-advisory, web | |
| https://security.netapp.com/advisory/ntap-20231208-0015/ | ||
| https://nvd.nist.gov/vuln/detail/CVE-2023-27530 | advisory | |
| https://github.com/rack/rack | package | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2023-27530.yml | web | |
| https://security.netapp.com/advisory/ntap-20231208-0015 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-27530 changed 2024-10-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3h57-hmj3-gj3p changed 2025-02-13 | CC-BY-4.0 |
| NVD | CVE-2023-27530 changed 2026-10-24 | Public domain |