GitHub Advisoryadvisory · RubyGems

GHSA-3h57-hmj3-gj3p Rack has possible DoS Vulnerability in Multipart MIME parsing

HIGH Published 2023-03-08 Modified 2025-02-13 Official page ↗
Aliases
CVE-2023-27530
Ecosystem
RubyGems
Packages
rack
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-770
Reviewed
2023-03-08

Affected packages

• RubyGems rack: < 2.0.9.3 → fixed in 2.0.9.3 • RubyGems rack: >= 2.1.0, < 2.1.4.3 → fixed in 2.1.4.3 • RubyGems rack: >= 2.2.0, < 2.2.6.3 → fixed in 2.2.6.3 • RubyGems rack: >= 3.0.0, < 3.0.4.2 → fixed in 3.0.4.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2023-27530 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… vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References