Advisory

GHSA-h77x-m5q8-c29h

Also known as: CVE-2012-6109

Summary

Rack vulnerable to REDoS

Details

lib/rack/multipart.rb in Rack before 1.1.4, 1.2.x before 1.2.6, 1.3.x before 1.3.7, and 1.4.x before 1.4.2 uses an incorrect regular expression, which allows remote attackers to cause a denial of service (infinite loop) via a crafted Content-Disposion header.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-11-29 05:40 UTC

Affected packages and fixes

rack

RubyGems · All systems

Affected

  • introduced 0, fixed 1.1.4 (ecosystem)

Fixed versions

1.1.4

Fix

The export has no generic command for this ecosystem.

rack

RubyGems · All systems

Affected

  • introduced 1.2.0, fixed 1.2.6 (ecosystem)

Fixed versions

1.2.6

Fix

The export has no generic command for this ecosystem.

rack

RubyGems · All systems

Affected

  • introduced 1.3.0, fixed 1.3.7 (ecosystem)

Fixed versions

1.3.7

Fix

The export has no generic command for this ecosystem.

rack

RubyGems · All systems

Affected

  • introduced 1.4.0, fixed 1.4.2 (ecosystem)

Fixed versions

1.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