| Summary | In codecov (npm package) before version 3.7.1 the upload method has a command injection vulnerability. Clients of the codecov-node library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. A similar CVE (CVE-2020-7597 for GHSA-5q88-cjfq-g2mh) was issued but the fix was incomplete. It only blocked &, and command injection is still possible using backticks instead to bypass the sanitizer. The attack surface is low in this case. Particularly in the standard use of codecov, where the module is used directly in a build pipeline, not built against as a library in another application that may supply malicious input and perform command injection. |
|---|---|
| Publication Date | July 21, 2020, 3:15 a.m. |
| Registration Date | Jan. 26, 2021, 11:53 a.m. |
| Last Update | Nov. 21, 2024, 2:04 p.m. |
| CVSS3.1 : CRITICAL | |
| スコア | 9.3 |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 要 |
| 影響の想定範囲(S) | 変更あり |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | なし |
| CVSS2.0 : MEDIUM | |
| Score | 6.8 |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| 攻撃元区分(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:codecov:codecov:*:*:*:*:*:node.js:*:* | 3.7.1 | ||||
| Title | codecov における OS コマンドインジェクションの脆弱性 |
|---|---|
| Summary | codecov (npm パッケージ) には、OS コマンドインジェクションの脆弱性が存在します。 |
| Possible impacts | 情報を取得される、および情報を改ざんされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | July 18, 2020, midnight |
| Registration Date | Sept. 18, 2020, 3:12 p.m. |
| Last Update | Sept. 18, 2020, 3:12 p.m. |
| Codecov |
| Codecov 3.7.1 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2020年09月18日] 掲載 |
Sept. 18, 2020, 3:12 p.m. |