GHSA-m7fq-cf8q-35q7

Suggest an improvement
Source
https://github.com/advisories/GHSA-m7fq-cf8q-35q7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-m7fq-cf8q-35q7/GHSA-m7fq-cf8q-35q7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m7fq-cf8q-35q7
Aliases
Published
2017-10-24T18:33:37Z
Modified
2024-12-03T06:06:33.107686Z
Summary
crack does not properly restrict casts of string values
Details

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.

Database specific
{
    "nvd_published_at": "2013-04-09T20:55:01Z",
    "cwe_ids": [
        "CWE-704",
        "CWE-74"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:45:16Z"
}
References

Affected packages

RubyGems / crack

Package

Name
crack
Purl
pkg:gem/crack

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.2

Affected versions

0.*

0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.2.0
0.3.0
0.3.1