GitHub Advisoryadvisory · RubyGems

GHSA-m7fq-cf8q-35q7 crack does not properly restrict casts of string values

HIGH Published 2017-10-24 Modified 2023-01-23 Official page ↗
Aliases
CVE-2013-1800
Ecosystem
RubyGems
Packages
crack
Severity
High
Weaknesses
CWE-704, CWE-74
Reviewed
2020-06-16

Affected packages

• RubyGems crack: < 0.3.2 → fixed in 0.3.2

Description

The crack gem 0.3.1 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 (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.

Related

Alias · CVE (1)

  • CVE-2013-1800 The crack gem 0.3.1 and earlier for Ruby does not properly restrict casts of string values, which might allow remote attackers to conduct… vulnerability

Weakness · CWE (2)

  • CWE-704 Incorrect Type Conversion or Cast weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References