CVE-2023-27530
JSON

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 packageVersionsReported by
https://github.com/rack/rack3.0.4.2, 2.2.6.3, 2.1.4.3, 2.0.9.3CVE 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.2GitHub Advisory Database
rack rackbefore 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.2NVD
debian debian_linux10.0, 11.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2023-27530 changed 2024-10-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-3h57-hmj3-gj3p changed 2025-02-13CC-BY-4.0
NVDCVE-2023-27530 changed 2026-10-24Public domain