{"id":"CVE-2017-16229","aliases":["DEBIAN-CVE-2017-16229","EUVD-2018-0186","GHSA-wfwm-chj7-w59r","UBUNTU-CVE-2017-16229"],"status":"published","title":"Ox gem stack overflow in sax_parse","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00965,"percentile":0.61927,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2018-02-26T22:00:00Z","modified":"2026-10-20T10:48:16Z","fixes":[{"ecosystem":"RubyGems","package":"ox","fixed_in":["2.8.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-ox","fixed_in":["2.8.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-ox","fixed_in":["2.8.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-ox","fixed_in":["2.8.2-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"ox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-ox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-ox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-ox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2-1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"ox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.2.0","1.2.1","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7.0","1.7.1","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","2.0.0","2.0.1","2.0.11","2.0.12","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.3.0","2.4.0","2.4.1","2.4.11","2.4.12","2.4.13","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.5.0","2.6.0","2.7.0","2.8.0","2.8.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ruby-ox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-2build2","2.1.1-2build3","2.1.1-2build4","2.1.1-2build5","2.1.1-2+deb9u1build0.16.04.1"]}],"products":[{"vendor":"ox_project","product":"ox"}],"references":[{"url":"https://rubygems.org/gems/ox/versions/2.8.1","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/ohler55/ox/issues/195","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16229","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ox/CVE-2017-16229.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wfwm-chj7-w59r"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-16229","tags":["advisory"]},{"url":"https://github.com/ohler55/ox","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-16229","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16229","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-16229","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.","status":"published","published":"2018-02-26T22:00:00Z","modified":"2024-08-05T20:20:05.223Z","updated_at":"2026-11-02T14:33:21.453505Z"}],"euvd":[{"id":"EUVD-2018-0186","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.","status":"published","published":"2018-02-26T22:00:00Z","modified":"2024-08-05T20:20:05Z","updated_at":"2026-11-03T02:23:12.944585Z"}],"ghsa":[{"id":"GHSA-wfwm-chj7-w59r","title":"Ox gem stack overflow in sax_parse","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the `read_from_str` function in `sax_buf.c` when a crafted input is supplied to `sax_parse`.","status":"published","published":"2018-03-05T18:29:32Z","modified":"2023-08-29T14:59:55Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:37:01.345964Z"}],"nvd":[{"id":"CVE-2017-16229","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.","status":"published","published":"2018-02-26T22:29:00.477Z","modified":"2026-06-17T01:09:00.913Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:15.877386Z"}],"osv":[{"id":"CVE-2017-16229","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.","status":"published","published":"2018-02-26T22:29:00.477Z","modified":"2026-10-20T10:48:16.053442456Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-16229","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.","status":"published","published":"2018-02-26T22:29:00.477Z","modified":"2026-09-01T20:03:45.30183358Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"GHSA-wfwm-chj7-w59r","title":"Ox gem stack overflow in sax_parse","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the `read_from_str` function in `sax_buf.c` when a crafted input is supplied to `sax_parse`.","status":"published","published":"2018-03-05T18:29:32Z","modified":"2024-02-16T08:21:34.646079Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:58.767335Z"},{"id":"UBUNTU-CVE-2017-16229","description":"In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.","status":"published","published":"2018-02-26T22:29:00Z","modified":"2025-10-24T04:46:34Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:14.563448Z"}]}}
