GHSA-3vfw-7rcp-3xgm

    Dashboard / Vulnerabilities / GHSA-3vfw-7rcp-3xgm

    GHSA-3vfw-7rcp-3xgm

    Published: 24 Oct 2017Last Modified: 29 Nov 2024
    Aliases:

    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.

    Affected packages

    Package

    Name: actionpack

    Purl: pkg:gem/actionpack

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.3.0
    Fixed -2.3.13

    Affected versions

    2.3.10
    2.3.11
    2.3.12
    2.3.2
    2.3.3
    2.3.4
    2.3.5
    2.3.6
    2.3.7
    2.3.8
    2.3.8.pre1
    2.3.9
    2.3.9.pre

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High