GHSA-wwh7-4jw9-33x6

Suggest an improvement
Source
https://github.com/advisories/GHSA-wwh7-4jw9-33x6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/11/GHSA-wwh7-4jw9-33x6/GHSA-wwh7-4jw9-33x6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wwh7-4jw9-33x6
Aliases
Published
2017-11-28T22:44:42Z
Modified
2024-02-16T08:18:26.151930Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
yajl-ruby gem Denial of Service vulnerability
Details

In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT in the yajl_string_decode function in yajl_encode.c. This results in the whole ruby process terminating and potentially a denial of service.

Database specific
{
    "nvd_published_at": "2017-11-03T15:29:00Z",
    "cwe_ids": [
        "CWE-134"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T22:01:25Z"
}
References

Affected packages

RubyGems / yajl-ruby

Package

Name
yajl-ruby
Purl
pkg:gem/yajl-ruby

Affected ranges

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

Affected versions

0.*

0.5.5
0.5.6
0.5.7
0.5.8
0.5.9
0.5.10
0.5.11
0.5.12
0.6.0
0.6.1
0.6.2
0.6.3
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.9
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.7.6
0.7.7
0.7.8
0.7.9
0.8.0
0.8.1
0.8.2
0.8.3

1.*

1.0.0
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0