GHSA-hpv8-9rq5-hq7w · 深刻度: medium · エコシステム: maven — Generated Code Contains Local Information Disclosure Vulnerability
swagger-codegen is an open-source project which contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. In swagger-codegen before version 2.4.19, on Unix-Like systems, the system temporary directory is shared between all local users. When files/directories are created, the default `umask` settings for the process are respected. As a result, by default, most processes/apis will create files/directories with the permissions `-rw-r--r--` and `drwxr-xr-x` respectively, unless an API that explicitly sets safe file permissions is used. Because this vulnerability impacts generated code, the generated code will remain vulnerable until fixed manually! This vulnerability is fixed in version 2.4.19. Note this is a distinct vulnerability from CVE-2021-21363.
総合評価: CVE-2021-21364 は低リスク(28.3/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.28%、20 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.07% | 0.28% | +0.21% |
| 2 | 2025-11-21 | 0.03% | 0.07% | +0.04% |
| 3 | 2025-11-18 | — | 0.03% | — |
EPSS の全履歴 (全 11 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
0.8 | 4.0 | [email protected] |
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
| 2.1 | 2.0 | LOW |
|
3.9 | 2.9 | [email protected] |
GHSA-hpv8-9rq5-hq7w · 深刻度: medium · エコシステム: maven — Generated Code Contains Local Information Disclosure Vulnerability
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| smartbear | swagger-codegen | < 2.4.19 | cpe:2.3:a:smartbear:swagger-codegen:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/swagger-api/swagger-codegen/commit/35adbd552d5f99b3ff1e0e59da228becc85190f2 | Patch Third Party Advisory |
| https://github.com/swagger-api/swagger-codegen/security/advisories/GHSA-hpv8-9rq5-hq7w | Mitigation Third Party Advisory |