Vulnerabilities

1 via 1 paths

Dependencies

166

Source

GitHub

Commit

74855687

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • Vulnerable module: @azure/identity
  • Introduced through: mssql@10.0.4

Detailed paths

  • Introduced through: kkrisz1.staruml-reverse-db@kkrisz1/staruml-reverse-db#7485568751cc750581ea995f92f70c683d06ba67 mssql@10.0.4 tedious@16.7.1 @azure/identity@3.4.2
    Remediation: Upgrade to mssql@11.0.0.

Overview

@azure/identity is a Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID

Affected versions of this package are vulnerable to Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in the authentication process. An attacker can elevate privileges by exploiting race conditions during the token validation steps. This is only exploitable if the application is configured to use multiple threads or processes for handling authentication requests.

Notes:

  1. An attacker who successfully exploited the vulnerability could elevate privileges and read any file on the file system with SYSTEM access permissions;

  2. An attacker who successfully exploits this vulnerability can only obtain read access to the system files by exploiting this vulnerability. The attacker cannot perform write or delete operations on the files;

  3. The vulnerability exists in the following credential types: DefaultAzureCredential and ManagedIdentityCredential;

  4. The vulnerability exists in the following credential types:

ManagedIdentityApplication (.NET)

ManagedIdentityApplication (Java)

ManagedIdentityApplication (Node.js)

Remediation

Upgrade @azure/identity to version 4.2.1 or higher.

References