ghsa-954h-8gv7-2q75
Vulnerability from github
Published
2022-05-14 01:04
Modified
2022-05-14 01:04
Severity ?
Details
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which is not the length stored in space_len.
{ "affected": [], "aliases": [ "CVE-2017-14064" ], "database_specific": { "cwe_ids": [ "CWE-119" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2017-08-31T17:29:00Z", "severity": "CRITICAL" }, "details": "Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a \u0027\\0\u0027 byte, returning a pointer to a string of length zero, which is not the length stored in space_len.", "id": "GHSA-954h-8gv7-2q75", "modified": "2022-05-14T01:04:04Z", "published": "2022-05-14T01:04:04Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-14064" }, { "type": "WEB", "url": "https://github.com/flori/json/commit/8f782fd8e181d9cfe9387ded43a5ca9692266b85" }, { "type": "WEB", "url": "https://hackerone.com/reports/209949" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2017:3485" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2018:0378" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2018:0583" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2018:0585" }, { "type": "WEB", "url": "https://bugs.ruby-lang.org/issues/13853" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/201710-18" }, { "type": "WEB", "url": "https://usn.ubuntu.com/3685-1" }, { "type": "WEB", "url": "https://www.debian.org/security/2017/dsa-3966" }, { "type": "WEB", "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released" }, { "type": "WEB", "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/100890" }, { "type": "WEB", "url": "http://www.securitytracker.com/id/1039363" }, { "type": "WEB", "url": "http://www.securitytracker.com/id/1042004" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.