GHSA-4xw9-cx39-r355 · 深刻度: high · エコシステム: npm — json-web-token library is vulnerable to a JWT algorithm confusion attack
joaquimserafim/json-web-token is a javascript library use to interact with JSON Web Tokens (JWT) which are a compact URL-safe means of representing claims to be transferred between two parties. Versions prior to 4.0.0 are vulnerable to a JWT algorithm confusion attack. On line 86 of the 'index.js' file, the algorithm to use for verifying the signature of the JWT token is taken from the JWT token, which at that point is still unverified and thus shouldn't be trusted. To exploit this vulnerability, an attacker needs to craft a malicious JWT token containing the HS256 algorithm, signed with the public RSA key of the victim application. This attack will only work against this library is the RS256 algorithm is in use, however it is a best practice to use that algorithm. Version 4.0.0 fixes the issue.
総合評価: CVE-2023-48238 は公開エクスプロイトあり(52.9/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.31%、22 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.18% | 0.31% | +0.13% |
| 2 | 2026-04-17 | 0.14% | 0.18% | +0.04% |
| 3 | 2025-11-21 | — | 0.14% | — |
EPSS の全履歴 (全 8 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-4xw9-cx39-r355 · 深刻度: high · エコシステム: npm — json-web-token library is vulnerable to a JWT algorithm confusion attack
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| joaquimserafim | json_web_token | < 3.1.1 | cpe:2.3:a:joaquimserafim:json_web_token:*:*:*:*:*:node.js:*:* |