Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXAyNGotaDQ3Ny03NnEz

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.

Permalink: https://github.com/advisories/GHSA-p24j-h477-76q3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXAyNGotaDQ3Ny03NnEz
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: about 1 year ago


CVSS Score: 7.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-p24j-h477-76q3, CVE-2021-36753
References: Repository: https://github.com/sharkdp/bat
Blast Radius: 15.9

Affected Packages

cargo:bat
Dependent packages: 56
Dependent repositories: 110
Downloads: 936,195 total
Affected Version Ranges: < 0.18.2
Fixed in: 0.18.2
All affected versions: 0.1.0, 0.2.0, 0.2.2, 0.2.3, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.16.0, 0.17.0, 0.17.1, 0.18.0, 0.18.1
All unaffected versions: 0.18.2, 0.18.3, 0.19.0, 0.20.0, 0.21.0, 0.22.0, 0.22.1, 0.23.0, 0.24.0