{"id":"GHSA-p24j-h477-76q3","summary":"Uncontrolled Search Path Element in sharkdp/bat","details":"bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.","aliases":["CVE-2021-36753","RUSTSEC-2021-0106"],"modified":"2023-11-08T04:06:15.992843Z","published":"2021-08-25T21:01:37Z","database_specific":{"cwe_ids":["CWE-427"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-07-19T16:44:50Z","nvd_published_at":"2021-07-15T20:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36753"},{"type":"WEB","url":"https://github.com/sharkdp/bat/pull/1724"},{"type":"WEB","url":"https://github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956"},{"type":"PACKAGE","url":"https://github.com/sharkdp/bat"},{"type":"WEB","url":"https://github.com/sharkdp/bat/releases/tag/v0.18.2"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0106.html"},{"type":"WEB","url":"https://vuln.ryotak.me/advisories/53"}],"affected":[{"package":{"name":"bat","ecosystem":"crates.io","purl":"pkg:cargo/bat"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.18.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-p24j-h477-76q3/GHSA-p24j-h477-76q3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}