{"id":"RUSTSEC-2021-0106","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","GHSA-p24j-h477-76q3"],"modified":"2023-11-08T04:06:15.992843Z","published":"2021-07-15T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/bat"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0106.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36753"}],"affected":[{"package":{"name":"bat","ecosystem":"crates.io","purl":"pkg:cargo/bat"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.18.2"}]}],"ecosystem_specific":{"affects":{"functions":[],"os":["windows"],"arch":[]},"affected_functions":null},"database_specific":{"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0106.json","cvss":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","categories":["code-execution"]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}