CVE-2021-36753
JSON

7.8high

Uncontrolled Search Path Element in sharkdp/bat

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-p24j-h477-76q3RUSTSEC-2021-0106

Description

sharkdp BAT before 0.18.2 executes less.exe from the current working directory.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
bat (crates.io)before 0.18.2, from 0.0.0-0 before 0.18.2GitHub Advisory Database, RustSec Advisory Database
bat_project batbefore 0.18.2NVD

All scores

GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

sharkdp BAT before 0.18.2 executes less.exe from the current working directory.

GitHub Advisory Database

bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.

NVD (es)

sharkdp BAT versiones anteriores a 0.18.2, ejecuta el archivo less.exe desde el directorio de trabajo actual

References

Sources

SourceRecordLicence
CVE ListCVE-2021-36753 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-p24j-h477-76q3 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2021-0106 changed 2023-11-08CC0-1.0
NVDCVE-2021-36753 changed 2026-06-17Public domain