CVE-2023-45283Golang Go
Alta 7.5 Sin autenticación
Seguir: esta CVE · Golang · Golang Go Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.9% probabilidad de explotación en 30 días · percentil 81
- Requiere autenticación
- No
- Publicada
- 9 nov 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b. In addition, with fix, IsAbs now correctly reports paths beginning with \??\ as absolute, and VolumeName correctly reports the \??\ prefix as a volume name. UPDATE: Go 1.20.11 and Go 1.21.4 inadvertently changed the definition of the volume name in Windows paths starting with \?, resulting in filepath.Clean(\?\c:) returning \?\c: rather than \?\c:\ (among other effects). The previous behavior has been restored.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Go.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | stdlib |
< 1.20.11 |
1.20.11 |
go get stdlib@v1.20.11 |
| Go | stdlib |
≥ 1.21.0-0 < 1.21.4 |
1.21.4 |
go get stdlib@v1.21.4 |
| Go | stdlib |
≥ 1.20.11 < 1.20.12 |
1.20.12 |
go get stdlib@v1.20.12 |
| Go | stdlib |
≥ 1.21.4 < 1.21.5 |
1.21.5 |
go get stdlib@v1.21.5 |
Según OSV / GitHub Advisories (GO-2023-2185). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| golang | go | < 1.20.11 |
| golang | go | ≥ 1.21.0-0 < 1.21.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- www.openwall.com
- go.dev Issue Tracking Vendor Advisory
- go.dev
- go.dev Issue Tracking Vendor Advisory
- go.dev
- groups.google.com Issue Tracking Mailing List Vendor Advisory
- groups.google.com
- pkg.go.dev Issue Tracking Vendor Advisory
- security.netapp.com