CVE-2021-36753 json
Uncontrolled Search Path Element in sharkdp/bat
published 5y ago modified 4mo ago also GHSA-p24j-h477-76q3 , RUSTSEC-2021-0106 , EUVD-2021-1810
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
sharkdp BAT before 0.18.2 executes less.exe from the current working directory.
Patch / fix
- crates.io bat 0.18.2
- bat_project bat 0.18.2
- github.com/sharkdp/bat@bf2b2df commit
- github.com/sharkdp/bat#1724 pull request
- github.com/sharkdp/bat/releases/tag/v0.18.2 release
Is CVE-2021-36753 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.36% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | bat | <0.18.2 >=0.0.0-0, <0.18.2 |
0.18.2 |
Classification
- Weakness
-
- CWE-427 Uncontrolled Search Path Element
References
-
github.com
/sharkdp/bat/pull/1724
web, patch, third-party-advisory
-
github.com
/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956
web, patch, third-party-advisory
-
github.com
/sharkdp/bat/releases/tag/v0.18.2
web, release-notes, third-party-advisory
-
vuln.ryotak.me
/advisories/53
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-36753
advisory, web
-
github.com
/sharkdp/bat
package
-
rustsec.org
/advisories/RUSTSEC-2021-0106.html
web, advisory
-
crates.io
/crates/bat
package
Sources
- CVE List CVE-2021-36753
- GitHub Advisory GHSA-p24j-h477-76q3
- NVD CVE-2021-36753
- OSV RUSTSEC-2021-0106
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.