{"id":"CVE-2021-36753","aliases":["EUVD-2021-1810","GHSA-p24j-h477-76q3","RUSTSEC-2021-0106"],"status":"published","title":"Uncontrolled Search Path Element in sharkdp/bat","description":"sharkdp BAT before 0.18.2 executes less.exe from the current working directory.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00356,"percentile":0.29608,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-427"],"published":"2021-07-15T12:00:00Z","modified":"2026-10-20T10:54:50Z","fixes":[{"ecosystem":"crates.io","package":"bat","fixed_in":["0.18.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"bat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"bat","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.18.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"bat","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.18.2"}]}]}],"products":[{"vendor":"bat_project","product":"bat"}],"references":[{"url":"https://github.com/sharkdp/bat/releases/tag/v0.18.2","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/sharkdp/bat/pull/1724","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://vuln.ryotak.me/advisories/53","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36753","tags":["advisory","web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0106.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-p24j-h477-76q3"},{"url":"https://github.com/sharkdp/bat","tags":["package"]},{"url":"https://crates.io/crates/bat","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-36753","description":"sharkdp BAT before 0.18.2 executes less.exe from the current working directory.","status":"published","published":"2021-07-15T19:07:08Z","modified":"2024-08-04T01:01:59.399Z","updated_at":"2026-11-02T14:33:05.989686Z"}],"euvd":[{"id":"EUVD-2021-1810","description":"sharkdp BAT before 0.18.2 executes less.exe from the current working directory.","status":"published","published":"2021-07-15T19:07:08Z","modified":"2024-08-04T01:01:59Z","updated_at":"2026-11-03T03:24:29.329171Z"}],"ghsa":[{"id":"GHSA-p24j-h477-76q3","title":"Uncontrolled Search Path Element in sharkdp/bat","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.","status":"published","published":"2021-08-25T21:01:37Z","modified":"2023-02-03T05:06:04Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:36:43.439065Z"}],"nvd":[{"id":"CVE-2021-36753","description":"sharkdp BAT before 0.18.2 executes less.exe from the current working directory.","status":"published","published":"2021-07-15T20:15:11.44Z","modified":"2026-06-17T03:59:06.717Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:06:55.747384Z"}],"osv":[{"id":"CVE-2021-36753","description":"sharkdp BAT before 0.18.2 executes less.exe from the current working directory.","status":"published","published":"2021-07-15T20:15:11.44Z","modified":"2026-10-20T10:54:50.044698981Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.434873Z"},{"id":"GHSA-p24j-h477-76q3","title":"Uncontrolled Search Path Element in sharkdp/bat","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.","status":"published","published":"2021-08-25T21:01:37Z","modified":"2023-11-08T04:06:15.992843Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T15:46:52.534897Z"},{"id":"RUSTSEC-2021-0106","title":"Uncontrolled Search Path Element in sharkdp/bat","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.","status":"published","published":"2021-07-15T12:00:00Z","modified":"2023-11-08T04:06:15.992843Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
