llamaCVEVulnerability Intelligence
/
path/filepath

CVE-2023-45283

Insecure parsing of Windows paths with a \??\ prefix in path/filepath

Parche disponible
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Fuente: NVD
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versiones1.20.11 · 1.20.12 · 1.21.4 · 1.21.5
Exposición1.106 dDesde la divulgación, 9 nov 2023, 11:30 a. m.
Detección1.089 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
Verificada
9 nov 23
13 feb 25
3 nov 26
13 nov 26
19 nov 26
9 nov 23
12 ago 24
15 may 25
16 feb 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2023-45283 divulgada · CVSS 7.5 (NVD)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
path/filepath · internal/safefilepath · stdlib< 1.20.11
path/filepath · stdlib≥ 1.20.11 < 1.20.12
path/filepath · internal/safefilepath · stdlib≥ 1.21.0-0 < 1.21.4
path/filepath · stdlib≥ 1.21.4 < 1.21.5
1.20.11
1.20.12
1.21.0-0
1.21.4
1.21.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
path/filepath
Corregida 1.20.11, 1.20.12, 1.21.4, 1.21.5 — —
internal/safefilepath
Corregida 1.20.11, 1.21.4 — —
stdlib
Corregida 1.20.11, 1.20.12, 1.21.4, 1.21.5 — —
Versiones corregidas1.20.111.20.121.21.41.21.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Análisishttp://www.openwall.com/lists/oss-security/2023/12/05/2
Otrahttps://go.dev/issue/63713
Otrahttps://go.dev/cl/540277
Otrahttps://groups.google.com/g/golang-announce/c/4tU8LZfBFkY
Otrahttps://go.dev/issue/64028
Otrahttps://go.dev/cl/541175
Otrahttps://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ
Otrahttps://pkg.go.dev/vuln/GO-2023-2185
Otrahttps://security.netapp.com/advisory/ntap-20231214-0008/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.