CVE-2023-27530
Rack has possible DoS Vulnerability in Multipart MIME parsing
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | rack | < 2.0.9.3 | 2.0.9.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| 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 |
| Debian | Debian Linux | Versions 10.0, 11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://discuss.rubyonrails.org/t/cve-2023-27530-possible-dos-vulnerability-in-multipart-mime-parsing/82388
- https://lists.debian.org/debian-lts-announce/2023/04/msg00017.html
- https://security.netapp.com/advisory/ntap-20231208-0015/
- https://www.debian.org/security/2023/dsa-5530
- https://github.com/advisories/GHSA-3h57-hmj3-gj3p
- https://nvd.nist.gov/vuln/detail/CVE-2023-27530
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2023-27530.yml
- https://security.netapp.com/advisory/ntap-20231208-0015