Loading...
Skip to main content

CVE-2018-16470 — Vulnerability in rack — CVE Details

HIGH

Rack vulnerable to Denial of Service

Published November 15, 2018Updated February 16, 2024Source: osv

Summary

There is a possible DoS vulnerability in the multipart parser in Rack before 2.0.6. Specially crafted requests can cause the multipart parser to enter a pathological state, causing the parser to use CPU resources disproportionate to the request size.

Advisory Timeline

  • First published November 15, 2018 (2888 days ago).
  • Last revised February 16, 2024 — 1919 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update rack to 2.0.6 or later
gem install rack -v 2.0.6

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
rack
rubygems
2.0.4, 2.0.52.0.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2018-16470?
Rack vulnerable to Denial of Service This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2018-16470?
CVE-2018-16470 affects rack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-16470 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-hg78-4f6x-99wq

Related CVEs

  • CVE-2026-34230
    HIGH

    Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header

  • CVE-2026-34827
    HIGH

    Rack's multipart header parsing allows Denial of Service via escape-heavy quoted parameters

  • CVE-2025-61771
    HIGH

    Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)

  • CVE-2026-32762
    MEDIUM

    Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing

  • CVE-2026-34830
    MEDIUM

    Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect

  • CVE-2025-61780
    MEDIUM

    Rack has a Possible Information Disclosure Vulnerability

  • CVE-2026-26962
    MEDIUM

    Rack's improper unfolding of folded multipart headers preserves CRLF in parsed parameter values

  • CVE-2026-26961
    MEDIUM

    Rack's greedy multipart boundary parsing can cause parser differentials and WAF bypass.

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies