# Nokogiri gem, via libxml, is affected by DoS vulnerabilities

Advisory record · `GHSA-x2fm-93ww-ggvx`

- **Identifiers:** `GHSA-x2fm-93ww-ggvx` · `CVE-2017-16932`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-835](https://cwe.mitre.org/data/definitions/835.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 13 May 2022
- **Updated:** 20 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `nokogiri` (RubyGems): affected `<1.8.1`; fixed in `1.8.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.065, the 93rd percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 13 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-x2fm-93ww-ggvx](https://github.com/advisories/GHSA-x2fm-93ww-ggvx)
- [OSV: GHSA-x2fm-93ww-ggvx](https://osv.dev/vulnerability/GHSA-x2fm-93ww-ggvx)
- <https://nvd.nist.gov/vuln/detail/CVE-2017-16932>
- <https://github.com/sparklemotion/nokogiri/issues/1714>
- <https://github.com/GNOME/libxml2/commit/899a5d9f0ed13b8e32449a08a361e0de127dd961>
- <https://blog.clamav.net/2018/07/clamav-01001-has-been-released.html>
- <https://bugzilla.gnome.org/show_bug.cgi?id=759579>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-16932.yml>
- <https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E>
- <https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E>
- <https://lists.debian.org/debian-lts-announce/2017/11/msg00041.html>
- <https://lists.debian.org/debian-lts-announce/2022/04/msg00004.html>
- <https://usn.ubuntu.com/3739-1>
- <http://xmlsoft.org/news.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-x2fm-93ww-ggvx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-x2fm-93ww-ggvx/>. Everything for agents: <https://agentprime.io/llms.txt>.
