AbsaOSS / AbsaOSS/living-doc-generator-mdoc

[SEC:HIGH][FP=308fa326] black: Black: Arbitrary file writes from unsanitized user input in cache file name

Offen
#205 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
scope:security type:aquasec
Vorherrschende Sprache
Python
Sterne
3
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## General Information

- **Severity:** high
- **Title:** black: Black: Arbitrary file writes from unsanitized user input in cache file name
- **Category:** vulnerabilities
- **Rule:** CVE-2026-32274
- **Alert hash:** 308fa3266022f83a1856dfbc176f63e8
- **First seen:** 2026-04-23

## Description

Black is the uncompromising Python code formatter. Starting in version 24.3.0 and prior to version 26.3.1, Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. Fixed in Black 26.3.1.

## Location

- **Repository:** AbsaOSS/living-doc-generator-mdoc
- **File:** [requirements.txt](https://github.com/AbsaOSS/living-doc-generator-mdoc/blob/master/requirements.txt)

## Dependency Details

- **Package name:** black
- **Installed version:** 26.1.0
- **Fixed version:** 26.3.1
- **Reachable:** False

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.