{"id":"UBUNTU-CVE-2017-16229","details":"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.","modified":"2025-10-24T04:46:34Z","published":"2018-02-26T22:29:00Z","upstream":["CVE-2017-16229"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-16229"},{"type":"REPORT","url":"https://github.com/ohler55/ox/issues/195"},{"type":"REPORT","url":"https://rubygems.org/gems/ox/versions/2.8.1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-16229"}],"affected":[{"package":{"name":"ruby-ox","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-ox@2.1.1-2+deb9u1build0.16.04.1?arch=source&distro=xenial"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.1-2+deb9u1build0.16.04.1","binary_name":"ruby-ox"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16229.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}