3.8Niedrig

CVE-2025-22873Improper access to parent directory of root in os

Go standard library os Veröffentlicht: (vor 9 Monaten)

Beschreibung

It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.

Schwachstellentyp (CWE): CWE-23

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go standard library os < 1.23.9, 1.24.0-0 – < 1.24.3
golang go 1.24.0 – < 1.24.3

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.24.0 < 1.24.3