Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-16229

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-16229
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:52 UTC · Revision 1

Source evidence

CVE-2017-16229

core-osv · Original source

Published 26 Feb 2018, 22:29 UTC

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.

osv:CVE-2017-16229
Complete source record
{
  "id": "0322d45b0956d0fe824d9f675d551afcfb8054b22648e54fa8eae4d5c04fa8e2",
  "url": "https://osv.dev/vulnerability/CVE-2017-16229",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-16229",
    "summary": "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.",
    "evidence": "osv:CVE-2017-16229",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-16229",
      "aliases": [
        "CVE-2017-16229",
        "GHSA-wfwm-chj7-w59r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ohler55/ox",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d8695646fa3e134bd76ba3bd33462f15ad31b230"
                },
                {
                  "last_affected": "d8695646fa3e134bd76ba3bd33462f15ad31b230"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ox_project:ox:2.8.1:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "2.8.1"
                      },
                      {
                        "last_affected": "2.8.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.8.1",
            "v2.8.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16229.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:16.053442456Z",
      "provider": "osv",
      "references": [
        "https://rubygems.org/gems/ox/versions/2.8.1",
        "https://github.com/ohler55/ox/issues/195"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-16229",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380209,
  "published_at": "2018-02-26T22:29:00.477+00:00"
}