Skip to content
Heist/ feed
Unrated

CVE-2023-30585

Type: advisorySource: Official CVE List1 source record

A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install Node.js using the .msi installer. This vulnerability emerges during the repair operation, where the "msiexec.exe" process, running under the NT AUTHORITY\SYSTEM context, attempts to read the %USERPROFILE% environment variable from the current user's registry. The issue arises when the path referenced by the %USERPROFILE% environment variable does not exist. In such cases, the "msiexec.exe" process attempts to create the specified path in an unsafe manner, potentially leading to the creation of arbitrary folders in arbitrary locations. The severity of this vulnerability is heightened by the fact that the %USERPROFILE% environment variable in the Windows registry can be modified by standard (or "non-privileged") users. Consequently, unprivileged actors, including malicious entities or trojans, can manipulate the environment variable key to deceive the privileged "msiexec.exe" process. This manipulation can result in the creation of folders in unintended and potentially malicious locations. It is important to note that this vulnerability is specific to Windows users who install Node.js using the .msi installer. Users who opt for other installation methods are not affected by this particular issue.

Announced Group revision 1
Original source ↗

CVE-2023-30585

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2023-30585

Node

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "NodeJS",
    "product": "Node",
    "versions": [
      {
        "status": "affected",
        "version": "4.0",
        "lessThan": "4.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.0",
        "lessThan": "5.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.0",
        "lessThan": "6.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "7.0",
        "lessThan": "7.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "8.0",
        "lessThan": "8.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "9.0",
        "lessThan": "9.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "10.0",
        "lessThan": "10.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "11.0",
        "lessThan": "11.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "12.0",
        "lessThan": "12.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "13.0",
        "lessThan": "13.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "14.0",
        "lessThan": "14.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "15.0",
        "lessThan": "15.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "16.0",
        "lessThan": "16.20.1",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "17.0",
        "lessThan": "17.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "18.0",
        "lessThan": "18.16.1",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "19.0",
        "lessThan": "19.*",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "20.0",
        "lessThan": "20.3.1",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2023-30585

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#16090 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement