HistoryEditJSON (OSV)

RUSTSEC-2021-0106

Uncontrolled Search Path Element in sharkdp/bat

Reported
Issued
Package
bat (crates.io)
Type
Vulnerability
Categories
Aliases
References
CVSS Score
7.8 HIGH
CVSS Details
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Patched
  • >=0.18.2
Affected OSes
  • windows

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.

Advisory available under CC0-1.0 license.