Skip to content

Uncontrolled Search Path Element in sharkdp/bat

High severity GitHub Reviewed Published Aug 25, 2021 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

cargo bat (Rust)

Affected versions

< 0.18.2

Patched versions

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.

References

Published by the National Vulnerability Database Jul 15, 2021
Reviewed Jul 19, 2021
Published to the GitHub Advisory Database Aug 25, 2021
Last updated Feb 3, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2021-36753

GHSA ID

GHSA-p24j-h477-76q3

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.