3.8Baja

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

Go standard library os Publicada: (hace 9 meses)

Descripción

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.

Debilidad (CWE): CWE-23

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

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

Referencias y parches

Coincidencias CPE (NVD) (1)

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