ip-address の脆弱性 (CVE-2026-101912)
概要
ip-address に 脆弱性 (CVE-2026-101912) が存在。不正な操作・情報露出のリスクがあります。Address4 経由で攻撃可能。対策: 10.7.1 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
isInSubnet() and isHostInSubnet() accept an address of either family and compare masked binary strings without checking that both operands are the same family. Address4 pads to 32 bits and Address6 to 128, so whenever the leading bits agree the strings are equal: new Address6('a00::1').isInSubnet(new Address4('10.0.0.0/8')) is true, and new Address4('32.0.0.1').isInSubnet(new Address6('2000::/3')) is true. No IPv4 address is inside an IPv6 network, so both answers are untrue.
An application that parses untrusted input as whichever family accepts it and then tests the result against a fixed-family allowlist can admit an address outside the list.
Details
Both methods are in src/common.ts:
export function isInSubnet(this: Address4 | Address6, address: Address4 | Address6) {
if (this.subnetMask < address.subnetMask) {
return false;
}
return isHostInSubnet.call(this, address);
}
export function isHostInSubnet(this: Address4 | Address6, address: Address4 | Address6) {
return this.mask(address.subnetMask) === address.mask();
}
mask(n) returns the first n bits of the address as a string of 0 and 1, taken from a representation padded to the family's width. new Address6('a00::1').mask(8) is '00001010', and so is new Address4('10.0.0.0/8').mask(), so string equality reports containment. The signature admits either family on either side, so TypeScript raises nothing, and the v4 property on Address6 marks IP…
出典: NIST National Vulnerability Database NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
ip-address という製品で、CVE-2026-101912 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに Address4 のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: ip-address を 10.7.1 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「ip-address CVE-2026-101912」を検索してください。
CVE-2026-101912 (ip-address) — CWE-697
脆弱箇所: Address4 / Address6 / true / false
修正バージョン: 10.7.1 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
ip-address に 脆弱性 (CWE-697) があります。攻撃者は Address4 を経由して脆弱な処理に到達できます。
ip-address の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: Address4 / Address6 / true / false。
重要度: ?。不正な操作・情報露出のリスクがあります。
10.7.1 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'ip-address' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
ip-addressを grep し、稼働しているサービス・バージョンを把握する。 -
2パッチ適用 patch
Upgrade ip-address to 10.7.1ステージング環境で 10.7.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com