← 戻る
CVE-2019-13118
medium
CVSS 5.3
nokogiri の脆弱性 (CVE-2019-13118)
概要
nokogiri に 脆弱性 (CVE-2019-13118) が存在。機密情報が外部に流出する可能性があります。``numbers.c`` 経由で攻撃可能。対策: `1.10.5` 以上に更新。
AI要約 snake-internal / snake-material-v2
nokogiri という製品で、CVE-2019-13118 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに ``numbers.c`` のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 5.3/10 です。
対策: nokogiri を **1.10.5** 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「nokogiri CVE-2019-13118」を検索してください。
CVE-2019-13118 (nokogiri) — CWE-843 / CVSS v3 5.3
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: `numbers.c` / `xsltNumberFormatDecimal`
修正バージョン: `1.10.5` (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
❓ 何が問題か
nokogiri に **脆弱性** (CWE-843) があります。攻撃者は ``numbers.c`` を経由して脆弱な処理に到達し、認証なしで悪用できます。
📍 影響範囲
nokogiri のうち 。攻撃箇所: `numbers.c` / `xsltNumberFormatDecimal`。
🔥 重要度
重要度: 中 (CVSS 5.3/10)。機密情報が外部に流出する可能性があります
🔧 修正方法
**1.10.5** に更新してください。
🛡️ 暫定回避
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
🔍 検知方法
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション (7段階)
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'nokogiri' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `nokogiri` を grep し、稼働しているサービス・バージョンを把握する。
-
6パッチ適用 patch
Upgrade nokogiri to 1.10.5ステージング環境で 1.10.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
影響パッケージ
rubygems
nokogiri
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.5"}]}]
参照URL
- 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-13118
- web http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html
- web http://seclists.org/fulldisclosure/2019/Aug/11
- web http://seclists.org/fulldisclosure/2019/Aug/13
- web http://seclists.org/fulldisclosure/2019/Aug/14
- web http://seclists.org/fulldisclosure/2019/Aug/15
- web http://seclists.org/fulldisclosure/2019/Jul/22
- web http://seclists.org/fulldisclosure/2019/Jul/23
- web http://seclists.org/fulldisclosure/2019/Jul/24
- web http://seclists.org/fulldisclosure/2019/Jul/26
- web http://seclists.org/fulldisclosure/2019/Jul/31
- web http://seclists.org/fulldisclosure/2019/Jul/37
- web http://seclists.org/fulldisclosure/2019/Jul/38
- web http://www.openwall.com/lists/oss-security/2019/11/17/2
- web https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15069
- web https://gitlab.gnome.org/GNOME/libxslt/commit/6ce8de69330783977dd14f6569419489875fb71b
- 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/5197371471822848
- web https://seclists.org/bugtraq/2019/Aug/21
- web https://seclists.org/bugtraq/2019/Aug/22
- web https://seclists.org/bugtraq/2019/Aug/23
- web https://seclists.org/bugtraq/2019/Aug/25
- web https://seclists.org/bugtraq/2019/Jul/35
- web https://seclists.org/bugtraq/2019/Jul/36
- web https://seclists.org/bugtraq/2019/Jul/37
- web https://seclists.org/bugtraq/2019/Jul/40
- web https://seclists.org/bugtraq/2019/Jul/41
- web https://seclists.org/bugtraq/2019/Jul/42
- web https://support.apple.com/kb/HT210346
- web https://support.apple.com/kb/HT210348
- web https://support.apple.com/kb/HT210351
- web https://support.apple.com/kb/HT210353
- web https://support.apple.com/kb/HT210356
- web https://support.apple.com/kb/HT210357
- web https://support.apple.com/kb/HT210358
- 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/sparklemotion/nokogiri/commit/43a175339b47b8c604508813fc75b83f13cd173e
- web https://github.com/sparklemotion/nokogiri/blob/f7aa3b0b29d6fe5fafe93dacd9b96b6b3d16b7ec/CHANGELOG.md?plain=1#L796
- web https://github.com/sparklemotion/nokogiri/releases/tag/v1.10.5
- web https://security.netapp.com/advisory/ntap-20190806-0004
- web https://security.netapp.com/advisory/ntap-20200122-0003
- web https://usn.ubuntu.com/4164-1
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ
- web https://lists.fedoraproject.org/archives/list/[email protected]/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ
- web https://github.com/advisories/GHSA-cf46-6xxh-pc75