CVE-2017-16229
Ox gem stack overflow in sax_parse
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2017-16229- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-16229- Updated
- 2026-11-02
EUVDEUVD-2018-0186 No score
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.
- Record
EUVD-2018-0186- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wfwm-chj7-w59r
5.5
Ox gem stack overflow in sax_parse
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.
- Record
GHSA-wfwm-chj7-w59r- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2017-16229- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-16229
5.5
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.
- Record
DEBIAN-CVE-2017-16229- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-wfwm-chj7-w59r
5.5
Ox gem stack overflow in sax_parse
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.
- Record
GHSA-wfwm-chj7-w59r- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-16229
5.5
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.
- Record
UBUNTU-CVE-2017-16229- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
oxRubyGems |
before 2.8.2 | 2.8.2 |
ruby-oxDebian:12 |
before 2.8.2-1 | 2.8.2-1 |
ruby-oxDebian:13 |
before 2.8.2-1 | 2.8.2-1 |
ruby-oxDebian:14 |
before 2.8.2-1 | 2.8.2-1 |
oxRubyGems |
before 2.8.2, plus listed versions 1.0.01.0.11.0.21.0.31.1.0 Show 45 moreShow less1.1.11.2.01.2.11.2.101.2.111.2.121.2.131.2.141.2.151.2.21.2.31.2.41.2.51.2.61.2.71.2.81.2.91.3.01.3.11.3.21.3.31.3.41.3.51.4.01.4.11.4.21.4.31.4.41.4.51.4.61.5.01.5.11.5.21.5.31.5.41.5.51.5.61.5.71.5.81.5.91.6.01.6.11.6.21.6.31.6.4 |
2.8.2 |
ruby-oxUbuntu:16.04:LTS |
All versions, plus listed versions 2.1.1-2build22.1.1-2build32.1.1-2build42.1.1-2build52.1.1-2+deb9u1build0.16.04.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-16229 is a medium vulnerability (CVSS 5.5) in Ox Project Ox, published February 26, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 61st percentile. Fixed in ox 2.8.2.
References
rubygems.org/gems/ox/versions/2.8.1
github.com/ohler55/ox/issues/195
nvd.nist.gov/vuln/detail/CVE-2017-16229
github.com/rubysec/ruby-advisory-db/blob/master/gems/ox/CVE-2017-16229.yml
github.com/advisories/GHSA-wfwm-chj7-w59r
security-tracker.debian.org/tracker/CVE-2017-16229
github.com/ohler55/ox
ubuntu.com/security/CVE-2017-16229
cve.org/CVERecord?id=CVE-2017-16229
Left out here: 67 versions. The JSON record has them.