← Back
CVE-2019-11068
critical
CVSS 9.8
Vulnerability in nokogiri (CVE-2019-11068)
Summary
vulnerability in nokogiri (CVE-2019-11068). Successful exploitation can lead to full system takeover. Exploitable via ``xsltCheckRead``. Mitigation: upgrade to `1.10.3` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2019-11068** has been found in nokogiri.
Attackers can target a specific entry point like ``xsltCheckRead`` over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: upgrade nokogiri to **1.10.3** or later.
If unsure, ask your IT team or search "nokogiri CVE-2019-11068" on the vendor's site.
CVE-2019-11068 (nokogiri) — CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: `xsltCheckRead` / `xsltCheckWrite`
Patched: `1.10.3` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (unclassified) exists in nokogiri. Attackers reach the vulnerable code path via ``xsltCheckRead`` without authentication.
📍 Affected scope
nokogiri — . Attack surface: `xsltCheckRead` / `xsltCheckWrite`.
🔥 Severity
Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover
🔧 How to fix
Update to **1.10.3**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'nokogiri' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'nokogiri' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `nokogiri` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade nokogiri to 1.10.3ステージング環境で 1.10.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
rubygems
nokogiri
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.3"}]}]
References
- advisory af854a3a-2127-422b-91ae-364da2661108
- advisory af854a3a-2127-422b-91ae-364da2661108
- advisory af854a3a-2127-422b-91ae-364da2661108
- advisory https://nvd.nist.gov/vuln/detail/CVE-2019-11068
- web http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00048.html
- web http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00052.html
- web http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00053.html
- web http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00025.html
- web http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00001.html
- web http://www.openwall.com/lists/oss-security/2019/04/22/1
- web http://www.openwall.com/lists/oss-security/2019/04/23/5
- web https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6
- web https://lists.debian.org/debian-lts-announce/2019/04/msg00016.html
- web af854a3a-2127-422b-91ae-364da2661108
- web af854a3a-2127-422b-91ae-364da2661108
- web af854a3a-2127-422b-91ae-364da2661108
- web https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- web https://github.com/sparklemotion/nokogiri/issues/1892
- web https://github.com/sparklemotion/nokogiri/pull/1898
- web https://github.com/sparklemotion/nokogiri/commit/fe034aedcc59b566740567d621843731686676b9
- web https://github.com/sparklemotion/nokogiri/blob/f7aa3b0b29d6fe5fafe93dacd9b96b6b3d16b7ec/CHANGELOG.md?plain=1#L826
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2019-11068.yml
- web https://usn.ubuntu.com/3947-2
- web https://usn.ubuntu.com/3947-1
- web https://security.netapp.com/advisory/ntap-20191017-0001
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/SK4YNISS22MJY22YX5I6V2U63QZAUEHA
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/GCOAX2IHUMKCM3ILHTMGLHCDSBTLP2JU
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/36TEYN37XCCKN2XUMRTBBW67BPNMSW4K
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SK4YNISS22MJY22YX5I6V2U63QZAUEHA
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GCOAX2IHUMKCM3ILHTMGLHCDSBTLP2JU
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36TEYN37XCCKN2XUMRTBBW67BPNMSW4K
- web https://github.com/advisories/GHSA-qxcg-xjjg-66mj