Skip to content

HTTParty does not restrict casts of string values

High severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Nov 10, 2023

Package

bundler httparty (RubyGems)

Affected versions

<= 0.9.0

Patched versions

0.10.0

Description

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.

References

Published by the National Vulnerability Database Apr 9, 2013
Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Nov 10, 2023

Severity

High

EPSS score

3.796%
(92nd percentile)

Weaknesses

CVE ID

CVE-2013-1801

GHSA ID

GHSA-mgx3-27hr-mfgp

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.