question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Rest.ClientRuntime.Azure.Authentication references deprecated lib with vulnerability: IdentityModel.Clients.ActiveDirectory

See original GitHub issue

Library name and version

Microsoft.Rest.ClientRuntime.Azure.Authentication 2.4.1

Describe the bug

Hi!

Microsoft.Rest.ClientRuntime.Azure.Authentication 2.4.1 (latest) references Microsoft.IdentityModel.Clients.ActiveDirectory 4.3.0 which references System.Runtime.Serialization.Json 4.3.0 which references System.Private.DataContractSerialization 4.3.0 that is reported to have vulnerability CVE-2023-21538 (reported by Dependency Track).

All packages are at their latest version except Microsoft.IdentityModel.Clients.ActiveDirectory, but the latest version also references libs of version 4.3.0.

Is there an update coming?

Is there something I can do to remedy? Is there an alternative package to use?

We’re consuming ClientCredential and ApplicationTokenProvider in a .net7 function app running on Azure.

Thank you!

Expected behavior

No reported vulnerabilities

Actual behavior

Reported vulnerability on System.Private.DataContractSerialization by Dependency Track

Reproduction Steps

Environment

.net7 running on Azure function apps

Issue Analytics

  • State:closed
  • Created 6 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jsquirecommented, Mar 23, 2023

@andyhammar: Thank you for the clarification and apologies for the misunderstanding. I’ve looped in @ArthurMa1978, who would be best able to assist.

0reactions
ArthurMa1978commented, Jul 18, 2023

Hey @andyhammar , the Rest.ClientRuntime.Azure.Authentication lib will also be deprecated soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Version conflict detected for Microsoft.IdentityModel.Clients ...
Creating an Azure function that uses nuget packages Microsoft.Rest.ClientRuntime.Azure.Authentication for authenticating to DataLake as well as ...
Read more >
Microsoft.Rest.ClientRuntime.Azure.Authentication 2.4.1
This package has been deprecated as it is legacy and is no longer maintained. Suggested Alternatives. Azure.Identity. Additional Details. Thank ...
Read more >
Authenticate a client app - Azure Data Catalog REST API
This article shows you how to authenticate a Data Catalog client app using the REST API.
Read more >
Platform Server - OutSystems Support
Fixed an issue where libraries in the database provider folders of the Platform ... authentication for End-Users authentication (either with the 'Azure AD', ......
Read more >
yargs-parser 5.0.0-security.0 npmjs: ...
Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors. Licenses. Apache License 2.0. Active Directory Authentication Library 2.22.302111727, Active ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found