6.5Mittel

CVE-2025-47906Unexpected paths returned from LookPath in os/exec

Go standard library os/exec Veröffentlicht: (vor 1 Jahr)

Beschreibung

If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.

Schwachstellentyp (CWE): CWE-115

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/exec < 1.23.12, 1.24.0 – < 1.24.6
golang go < 1.23.12

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.23.12
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.24.0 < 1.24.6