Skip to content

Fix Microsoft.Identity.Client documentation security issue#3370

Merged
Aaronontheweb merged 1 commit into
akkadotnet:devfrom
Arkatufus:Fix-Microsoft.Identity-security-issue
Jul 10, 2025
Merged

Fix Microsoft.Identity.Client documentation security issue#3370
Aaronontheweb merged 1 commit into
akkadotnet:devfrom
Arkatufus:Fix-Microsoft.Identity-security-issue

Conversation

@Arkatufus

@Arkatufus Arkatufus commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

Changes

Apparently, the typo URL is being typosquatted by a phishing site and is a security risk.

@Aaronontheweb

Copy link
Copy Markdown
Member

@Arkatufus redacted the squatting uri, but otherwise LGTM

@Aaronontheweb Aaronontheweb merged commit 9798a03 into akkadotnet:dev Jul 10, 2025
1 of 3 checks passed
<PackageReference Include="Akka.Hosting" Version="$(AkkaHostingVersion)" />
<PackageReference Include="Akka.Cluster.Hosting" Version="$(AkkaHostingVersion)" />
<PackageReference Include="Azure.Identity" Version="$(AzureIdentityVersion)" />
<PackageReference Include="Microsoft.Identity.Client" Version="$(MicrosoftIdentityVersion)" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation is incorrect here. And https://www.nuget.org/packages/Akka.Management/1.5.45.1#dependencies-body-tab doesn't show it depends on Microsoft.Identity.Client at all?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's only the Akka.Coordination.Azure and Akka.Discovery.Azure packages that need it. Core Akka.Management et al don't depend on it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yeah we should format and fix the indentation - happy to accept a PR if you'd like ;)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe updating to the newly released Azure.Identity 1.14.2 https://github.com/Azure/azure-sdk-for-net/releases/tag/Azure.Identity_1.14.2 and remove the package reference for Microsoft.Identity.Client instead or is there concerns with taking a dependency on 1.14.2 at this time?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe updating to the newly released Azure.Identity 1.14.2 https://github.com/Azure/azure-sdk-for-net/releases/tag/Azure.Identity_1.14.2 and remove the package reference for Microsoft.Identity.Client instead or is there concerns with taking a dependency on 1.14.2 at this time?

nah that would be my preference -we only added the explicit dependency to Microsoft.Identity.Client because the updated Azure.Identity package wasn't available yet.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So yes, removing the explicit reference and just updating Azure.Identity is the way to go IMHO

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created a PR in the meantime for just the indentation fix #3372

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah just saw your comment, I'll close that PR and open a new one

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New PR here #3373

Frulfump added a commit to Frulfump/Akka.Management that referenced this pull request Jul 11, 2025
It was added to handle reported security vulnerability
akkadotnet#3370
Azure.Identity has since been patched so we bump that instead per
https://github.com/akkadotnet/Akka.Management/pull/3370/files#r2201789201
Frulfump added a commit to Frulfump/Akka.Management that referenced this pull request Jul 11, 2025
It was added to handle reported security vulnerability
akkadotnet#3370
Azure.Identity has since been patched so we bump that instead per
https://github.com/akkadotnet/Akka.Management/pull/3370/files#r2201789201
Aaronontheweb pushed a commit that referenced this pull request Jul 11, 2025
* Bump Azure.Identity to 1.14.2

* Remove top level Microsoft.Identity.Client dependency

It was added to handle reported security vulnerability
#3370
Azure.Identity has since been patched so we bump that instead per
https://github.com/akkadotnet/Akka.Management/pull/3370/files#r2201789201

* Fix indentation issues

* Remove top level Microsoft.Identity.Client dependency

It was added to handle reported security vulnerability
#3370
Azure.Identity has since been patched so we bump that instead per
https://github.com/akkadotnet/Akka.Management/pull/3370/files#r2201789201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants