HighGHSA-mgx3-27hr-mfgpCVE-2013-1801

HTTParty does not restrict casts of string values

Published 24 Oct 2017 · Updated 29 Nov 2024

Is your project on an affected httparty?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

httpartyRubyGems
Affected
<0.10.0
Fixed in
0.10.0
Update to the fixed version for your release line, for example:bundle update --conservative httparty # Gemfile: '>= 0.10.0'

Details

The httparty gem 0.9.0 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) by leveraging Action Pack support for YAML type conversion, a similar vulnerability to CVE-2013-0156.

Is GHSA-mgx3-27hr-mfgp in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected httparty, and gives you the command that fixes it.

More advisories for httparty

  • HighCVE-2025-68696httparty Has Potential SSRF Vulnerability That Leads to API Key Leakage · 23 Dec 2025
  • MediumCVE-2024-22049httparty has multipart/form-data request tampering vulnerability · 3 Jan 2023
httparty security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.