GitHub Advisoryadvisory · crates.io

GHSA-p24j-h477-76q3 Uncontrolled Search Path Element in sharkdp/bat

HIGH Published 2021-08-25 Modified 2021-09-09 Official page ↗
Aliases
CVE-2021-36753
Ecosystem
crates.io
Packages
bat
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-427
Reviewed
2021-07-19

Affected packages

• crates.io bat: < 0.18.2 → fixed in 0.18.2

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.

Related

Alias · CVE (1)

  • CVE-2021-36753 sharkdp BAT before 0.18.2 executes less.exe from the current working directory. vulnerability

Weakness · CWE (1)

  • CWE-427 Uncontrolled Search Path Element weakness

References