← Back
CVE-2019-13117
medium
CVSS 5.3
Vulnerability in nokogiri (CVE-2019-13117)
Summary
vulnerability in nokogiri (CVE-2019-13117). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `1.10.5` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2019-13117** has been found in nokogiri.
Risk of unauthorized operations or information disclosure. CVSS score: 5.3/10.
What to do: upgrade nokogiri to **1.10.5** or later.
If unsure, ask your IT team or search "nokogiri CVE-2019-13117" on the vendor's site.
CVE-2019-13117 (nokogiri) — CWE-908 / CVSS v3 5.3
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: `1.10.5` — 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** (CWE-908) exists in nokogiri.
📍 Affected scope
nokogiri — .
🔥 Severity
Severity: Medium (CVSS 5.3/10). Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to **1.10.5**.
🛡️ 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.5ステージング環境で 1.10.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、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.5"}]}]
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-13117
- web http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html
- web http://www.openwall.com/lists/oss-security/2019/11/17/2
- web https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14471
- web https://gitlab.gnome.org/GNOME/libxslt/commit/c5eb6cf3aba0af048596106ed839b4ae17ecbcb1
- web https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- web https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- web https://lists.debian.org/debian-lts-announce/2019/07/msg00020.html
- web af854a3a-2127-422b-91ae-364da2661108
- web https://oss-fuzz.com/testcase-detail/5631739747106816
- web https://www.oracle.com/security-alerts/cpujan2020.html
- web https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
- web https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
- web https://github.com/sparklemotion/nokogiri/issues/1943
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2019-13117.yml
- web https://usn.ubuntu.com/4164-1
- web https://security.netapp.com/advisory/ntap-20200122-0003
- web https://security.netapp.com/advisory/ntap-20190806-0004
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ
- web https://github.com/advisories/GHSA-4hm9-844j-jmxp