Skip to content
Fencer Intel
medium 5.3

CVE-2023-45284 json

Incorrect detection of reserved device names on Windows in path/filepath

published 3y ago modified 2mo ago also BIT-golang-2023-45284 , EUVD-2023-49585 , GO-2023-2186

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 66%
public exploits
0
none known

Summary

On Windows, The IsLocal function does not correctly detect reserved device names in some cases. Reserved names followed by spaces, such as "COM1 ", and reserved names "COM" and "LPT" followed by superscript 1, 2, or 3, are incorrectly reported as local. With fix, IsLocal now correctly reports these names as non-local.

Patch / fix

  • bitnami golang 1.20.11, 1.21.4
  • go stdlib 1.20.11, 1.21.4
  • Go standard library path/filepath 1.20.11, 1.21.4
  • golang go 1.20.11, 1.21.4
  • go1.21-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.5.1-150000.1.8.1
  • go1.20-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.12.1-150000.1.17.1
  • go1.21 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.5-150000.1.18.1
  • go1.20 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.12-150000.1.35.1
  • go1.20-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.11.1-150000.1.14.1
  • go1.21 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.4-150000.1.15.1
  • go1.20 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.20.11-150000.1.32.1
  • go1.21-openssl SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 1.21.4.1-150000.1.5.1

suse advisories SUSE-SU-2023:4931-1SUSE-SU-2023:4930-1SUSE-SU-2023:4709-1SUSE-SU-2023:4708-1SUSE-SU-2023:4472-1SUSE-SU-2023:4471-1

  • traefik2 openSUSE Tumbleweed 2.11.5-1.1
  • go1.20 openSUSE Tumbleweed 1.20.12-1.1
  • go1.21 openSUSE Tumbleweed 1.21.5-1.1
  • traefik openSUSE Tumbleweed 2.10.7-1.1

opensuse advisories openSUSE-SU-2024:14076-1openSUSE-SU-2024:13491-1openSUSE-SU-2024:13492-1openSUSE-SU-2024:13506-1

  • golang CBL-Mariner 2.0 1.21.6-1

azure linux advisories AZL-37425AZL-37513

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2023-45284 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2y ago

Exploit prediction

1.10% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-15).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
bitnami golang
<1.20.11
>=1.21.0-0, <1.21.4
1.20.11
1.21.4
go stdlib
<1.20.11
>=1.21.0-0, <1.21.4
1.20.11
1.21.4

Affected products

  • Go standard library path/filepath
  • golang go

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.