Advisory

GHSA-3vfw-7rcp-3xgm

Also known as: CVE-2011-3187

Summary

actionpack Improper Input Validation vulnerability

Details

The to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on Rails 3.0.5 does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.

Severity

Medium Basis: The source's own band: MODERATE

Dates

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

Affected packages and fixes

actionpack

RubyGems · All systems

Affected

  • introduced 2.3.0, fixed 2.3.13 (ecosystem)

Fixed versions

2.3.13

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