| 概要 | 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's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. This vulnerability is local privilege escalation because the contents of the `outputFolder` can be appended to by an attacker. As such, code written to this directory, when executed can be attacker controlled. For more details refer to the referenced GitHub Security Advisory. This vulnerability is fixed in version 2.4.19. Note this is a distinct vulnerability from CVE-2021-21364. |
|---|---|
| 公表日 | 2021年3月11日12:15 |
| 登録日 | 2021年3月11日16:02 |
| 最終更新日 | 2024年11月21日14:48 |
| CVSS3.1 : HIGH | |
| スコア | 7.0 |
|---|---|
| ベクター | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 高 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| CVSS2.0 : MEDIUM | |
| スコア | 4.4 |
|---|---|
| ベクター | AV:L/AC:M/Au:N/C:P/I:P/A:P |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 中 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | 低 |
| 全ての特権を取得 | いいえ |
| ユーザー権限を取得 | いいえ |
| その他の権限を取得 | いいえ |
| ユーザー操作が必要 | いいえ |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:smartbear:swagger-codegen:*:*:*:*:*:*:*:* | 2.4.19 | ||||
| タイトル | swagger-codegen におけるアクセスパーミションでの一時ファイル作成に関する脆弱性 |
|---|---|
| 概要 | swagger-codegen には、アクセスパーミションでの一時ファイル作成に関する脆弱性、およびアクセスパーミションのディレクトリに一時ファイル作成に関する脆弱性が存在します。 本脆弱性は、CVE-2021-21364 とは異なる脆弱性です。 |
| 想定される影響 | 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 |
| 対策 | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2021年3月2日0:00 |
| 登録日 | 2021年11月24日12:05 |
| 最終更新日 | 2021年11月24日12:05 |
| SmartBear Software |
| Swagger Codegen 2.4.19 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2021年11月24日] 掲載 |
2021年11月24日12:05 |