| Summary | 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. |
|---|---|
| Publication Date | March 11, 2021, 12:15 p.m. |
| Registration Date | March 11, 2021, 4:02 p.m. |
| Last Update | Nov. 21, 2024, 2:48 p.m. |
| CVSS3.1 : MEDIUM | |
| スコア | 5.5 |
|---|---|
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | なし |
| CVSS2.0 : LOW | |
| Score | 2.1 |
|---|---|
| Vector | AV:L/AC:L/Au:N/C:P/I:N/A:N |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | なし |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | いいえ |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:smartbear:swagger-codegen:*:*:*:*:*:*:*:* | 2.4.19 | ||||
| Title | swagger-codegen における重要なリソースに対する不適切なパーミッションの割り当てに関する脆弱性 |
|---|---|
| Summary | swagger-codegen には、重要なリソースに対する不適切なパーミッションの割り当てに関する脆弱性、および情報漏えいに関する脆弱性が存在します。 本脆弱性は、CVE-2021-21363 とは異なる脆弱性です。 |
| Possible impacts | 情報を取得される可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | March 2, 2021, midnight |
| Registration Date | Nov. 24, 2021, 3:53 p.m. |
| Last Update | Nov. 24, 2021, 3:53 p.m. |
| SmartBear Software |
| Swagger Codegen 2.4.19 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2021年11月24日] 掲載 |
Nov. 24, 2021, 3:53 p.m. |