CVE-2023-45283
CVE.org · Publicado
- Status do registro
- Publicado
- Ano do identificador (não é o ano de publicação)
- 2023
- Publicação na fonte
- Atualização na fonte
- Importado pelo cveboard
- Snapshot da fonte
- cve_2026-10-24_midnight_baseline ·
Texto da CNA em inglês
Insecure parsing of Windows paths with a \??\ prefix in path/filepath
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.
Fatos de produtos e versões por escopo
Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.
Exploração desconhecida; este catálogo não avalia exploração.
path/filepath
- Fornecedor
- Go standard library
- Produto
- path/filepath
- Plataformas
- windows
- Status padrão
unaffected- Pacote
- path/filepath
- Coleção do pacote
- https://pkg.go.dev
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 0 | affected | semver | 1.20.11 | Indisponível | Nenhuma listada |
| 1.21.0-0 | affected | semver | 1.21.4 | Indisponível | Nenhuma listada |
internal/safefilepath
- Fornecedor
- Go standard library
- Produto
- internal/safefilepath
- Plataformas
- windows
- Status padrão
unaffected- Pacote
- internal/safefilepath
- Coleção do pacote
- https://pkg.go.dev
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 0 | affected | semver | 1.20.11 | Indisponível | Nenhuma listada |
| 1.21.0-0 | affected | semver | 1.21.4 | Indisponível | Nenhuma listada |
path/filepath
- Fornecedor
- Go standard library
- Produto
- path/filepath
- Plataformas
- windows
- Status padrão
unaffected- Pacote
- path/filepath
- Coleção do pacote
- https://pkg.go.dev
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 1.20.11 | affected | semver | 1.20.12 | Indisponível | Nenhuma listada |
| 1.21.4 | affected | semver | 1.21.5 | Indisponível | Nenhuma listada |