swagger-codegen における重要なリソースに対する不適切なパーミッションの割り当てに関する脆弱性
タイトル swagger-codegen における重要なリソースに対する不適切なパーミッションの割り当てに関する脆弱性
概要

swagger-codegen には、重要なリソースに対する不適切なパーミッションの割り当てに関する脆弱性、および情報漏えいに関する脆弱性が存在します。 本脆弱性は、CVE-2021-21363 とは異なる脆弱性です。

想定される影響 情報を取得される可能性があります。
対策

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2021年3月2日0:00
登録日 2021年11月24日15:53
最終更新日 2021年11月24日15:53
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS2.0 : 注意
スコア 2.1
ベクター AV:L/AC:L/Au:N/C:P/I:N/A:N
影響を受けるシステム
SmartBear Software
Swagger Codegen 2.4.19 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2021年11月24日]
  掲載
2021年11月24日15:53

NVD脆弱性情報
CVE-2021-21364
概要

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.

公表日 2021年3月11日12:15
登録日 2021年3月11日16:02
最終更新日 2024年11月21日14:48
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:smartbear:swagger-codegen:*:*:*:*:*:*:*:* 2.4.19
関連情報、対策とツール
共通脆弱性一覧