diff --git a/crates/bat/RUSTSEC-0000-0000.md b/crates/bat/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..3bf0f79 --- /dev/null +++ b/crates/bat/RUSTSEC-0000-0000.md @@ -0,0 +1,18 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "bat" +date = "2021-07-15" +url = "https://nvd.nist.gov/vuln/detail/CVE-2021-36753" +categories = ["code-execution"] +cvss = "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" +aliases = ["CVE-2021-36753"] +[affected] +os = ["windows"] +[versions] +patched = [">= 0.18.2"] +``` + +# Uncontrolled Search Path Element in sharkdp/bat + +bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.