Advisories
For your digest

azure-identity, @azure/identity: Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • azure-identity (PyPI): every version, before 1.16.1
  • @azure/identity (npm): every version, before 4.2.1
  • com.azure:azure-identity (Maven): every version, before 1.12.2
  • @azure/msal-node (npm): from 2.7.0, before 2.9.2
  • Microsoft.Identity.Client (NuGet): from 4.49.1, before 4.60.4
  • github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go): every version, before 1.6.0-beta.4.0.20240610221955-50774cd97099
  • com.microsoft.azure:msal4j (Maven): from 1.14.4-beta, before 1.15.1
  • Azure.Identity (NuGet): every version, before 1.11.4
  • Microsoft.Identity.Client (NuGet): from 4.61.0, before 4.61.3
  • azure-identity (PyPI): every version, before 1.16.1
  • github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go): every version, before 1.6.0

The fix

  • azure-identity (PyPI) fixed in 1.16.1

    pip
    python -m pip install azure-identity==1.16.1
    uv
    uv add azure-identity==1.16.1
    poetry
    poetry add azure-identity@1.16.1
    Check what is installed
    python -m pip show azure-identity
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency azure-identity to 1.16.1 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • @azure/identity (npm) fixed in 4.2.1

    npm
    npm install "@azure/identity@4.2.1"
    pnpm
    pnpm add "@azure/identity@4.2.1"
    yarn
    yarn add "@azure/identity@4.2.1"
    bun
    bun add "@azure/identity@4.2.1"
    Check what is installed
    npm ls @azure/identity
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency @azure/identity to 4.2.1 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • com.azure:azure-identity (Maven) fixed in 1.12.2

    maven
    mvn versions:use-dep-version -Dincludes=com.azure:azure-identity -DdepVersion=1.12.2 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=com.azure:azure-identity
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency com.azure:azure-identity to 1.12.2 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • @azure/msal-node (npm) fixed in 2.9.2

    npm
    npm install "@azure/msal-node@2.9.2"
    pnpm
    pnpm add "@azure/msal-node@2.9.2"
    yarn
    yarn add "@azure/msal-node@2.9.2"
    bun
    bun add "@azure/msal-node@2.9.2"
    Check what is installed
    npm ls @azure/msal-node
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency @azure/msal-node to 2.9.2 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • Microsoft.Identity.Client (NuGet) fixed in 4.60.4

    dotnet
    dotnet add package Microsoft.Identity.Client --version 4.60.4
    Check what is installed
    dotnet list package
    Paste into Cursor, Lovable or Claude Code
    Upgrade the NuGet dependency Microsoft.Identity.Client to 4.60.4 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • Microsoft.Identity.Client (NuGet) fixed in 4.61.3

    dotnet
    dotnet add package Microsoft.Identity.Client --version 4.61.3
    Check what is installed
    dotnet list package
    Paste into Cursor, Lovable or Claude Code
    Upgrade the NuGet dependency Microsoft.Identity.Client to 4.61.3 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go) fixed in 1.6.0-beta.4.0.20240610221955-50774cd97099

    go
    go get github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.6.0-beta.4.0.20240610221955-50774cd97099
    Check what is installed
    go list -m github.com/Azure/azure-sdk-for-go/sdk/azidentity
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/Azure/azure-sdk-for-go/sdk/azidentity to 1.6.0-beta.4.0.20240610221955-50774cd97099 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/Azure/azure-sdk-for-go/sdk/azidentity (Go) fixed in 1.6.0

    go
    go get github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.6.0
    Check what is installed
    go list -m github.com/Azure/azure-sdk-for-go/sdk/azidentity
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/Azure/azure-sdk-for-go/sdk/azidentity to 1.6.0 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • com.microsoft.azure:msal4j (Maven) fixed in 1.15.1

    maven
    mvn versions:use-dep-version -Dincludes=com.microsoft.azure:msal4j -DdepVersion=1.15.1 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=com.microsoft.azure:msal4j
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency com.microsoft.azure:msal4j to 1.15.1 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • Azure.Identity (NuGet) fixed in 1.11.4

    dotnet
    dotnet add package Azure.Identity --version 1.11.4
    Check what is installed
    dotnet list package
    Paste into Cursor, Lovable or Claude Code
    Upgrade the NuGet dependency Azure.Identity to 1.11.4 or the nearest later release, to fix CVE-2024-35255. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".
  2. Fixed releases changed: added github.com/Azure/azure-sdk-for-go/sdk/azidentity 1.6.0.