Skip to content

Commit b2adb3c

Browse files
ylecuyerpostmodern
authored andcommitted
Added CVE-2023-27530 for rack
1 parent 38305c6 commit b2adb3c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

gems/rack/CVE-2023-27530.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
gem: rack
3+
cve: 2023-27530
4+
url: https://discuss.rubyonrails.org/t/cve-2023-27530-possible-dos-vulnerability-in-multipart-mime-parsing/82388
5+
title: Possible DoS Vulnerability in Multipart MIME parsing
6+
date: 2023-03-03
7+
description: |
8+
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.
9+
10+
Versions Affected: All. Not affected: None Fixed Versions: 3.0.4.2, 2.2.6.3, 2.1.4.3, 2.0.9.3
11+
12+
# Impact
13+
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.
14+
15+
All users running an affected release should either upgrade or use one of the workarounds immediately.
16+
17+
# Workarounds
18+
A proxy can be configured to limit the POST body size which will mitigate this issue.
19+
patched_versions:
20+
- "~> 2.0.9, >= 2.0.9.3"
21+
- "~> 2.1.4, >= 2.1.4.3"
22+
- "~> 2.2.6, >= 2.2.6.3"
23+
- ">= 3.0.4.2"

0 commit comments

Comments
 (0)