Advisory

GHSA-3h57-hmj3-gj3p

Also known as: CVE-2023-27530

Summary

Rack has possible DoS Vulnerability in Multipart MIME parsing

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-08 17:20 UTC
Modified
2025-02-13 19:03 UTC

Affected packages and fixes

rack

RubyGems · All systems

Affected

  • introduced 0, fixed 2.0.9.3 (ecosystem)

Fixed versions

2.0.9.3

Fix

The export has no generic command for this ecosystem.

rack

RubyGems · All systems

Affected

  • introduced 2.1.0, fixed 2.1.4.3 (ecosystem)

Fixed versions

2.1.4.3

Fix

The export has no generic command for this ecosystem.

rack

RubyGems · All systems

Affected

  • introduced 2.2.0, fixed 2.2.6.3 (ecosystem)

Fixed versions

2.2.6.3

Fix

The export has no generic command for this ecosystem.

rack

RubyGems · All systems

Affected

  • introduced 3.0.0, fixed 3.0.4.2 (ecosystem)

Fixed versions

3.0.4.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences