sharkdp/bat · Security
Uncontrolled Search Path Element in sharkdp/bat
- GHSA ID
- GHSA-p24j-h477-76q3
- CVE ID
- CVE-2021-36753
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.
CWEs
- CWE-427 · Uncontrolled Search Path Element
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-36753 ↗
- https://github.com/sharkdp/bat/pull/1724 ↗
- https://github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956 ↗
- https://github.com/sharkdp/bat/releases/tag/v0.18.2 ↗
- https://vuln.ryotak.me/advisories/53 ↗
- https://rustsec.org/advisories/RUSTSEC-2021-0106.html ↗
- https://github.com/advisories/GHSA-p24j-h477-76q3 ↗