VDB
Sign up
HIGH

GHSA-jmgw-6vjg-jjwg

actionpack Improper Input Validation vulnerability

Quick fix

GHSA-jmgw-6vjg-jjwg — actionpack: upgrade to the fixed version with the command below.

bundle update actionpack

Details

`active_support/core_ext/hash/conversions.rb` in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/actionpack
Introduced in: 0Fixed in: 2.3.15
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 3.0.0Fixed in: 3.0.19
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 3.1.0Fixed in: 3.1.10
Fixbundle update actionpack
RubyGems/actionpack
Introduced in: 3.2.0Fixed in: 3.2.11
Fixbundle update actionpack

References