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.

[QUERY] Azure.MixedReality.Authentication transitive dependency on Newtonsoft.Json 10.0.1

See original GitHub issue

Library name and version

Azure.MixedReality.Authentication

Query/Question

I’m the current maintainer for Azure.MixedReality.Authentication. It currently depends on System.IdentityModel.Tokens.Jwt 5.4.0 to perform JWT validation. That version of System.IdentityModel.Tokens.Jwt also depends on Newtonsoft.Json 10.0.1, which contains a vulnerability that gets flagged by scanners. The version of System.IdentityModel.Tokens.Jwt is dictated here. Newer versions (6.x) of System.IdentityModel.Tokens.Jwt have actually removed the Newtonsoft.Json dependency. Is there any interest in updating the common version, should I override the version I use in Azure.MixedReality.Authentication, or do you have suggestions for a replacement for this functionality?

@weshaggard

Environment

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
heathscommented, Jul 12, 2022

But, in general, we don’t want SDKs using @OverrideVersion unless absolutely necessary because it breaks central management of dependencies, which is done to improve compatibility between our SDKs and other partners like the Az PowerShell modules.

0reactions
craigktreasurecommented, Jul 12, 2022

Per your suggestion, i’ve updated the common version since I believe we’re the only Track 2 SDK shipping a dependency on that library. See #29822.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency on specific Newtonsoft.Json package version ...
When I try to access during local debug, Azure Function gives an error that it is unable to load file or assembly 'Newtonsoft.Json,...
Read more >
Dependencies of packages conflicts with Newtonsoft.Json
I've an Azure Function project (.NET Framework) and I've this NuGet packages installed. <PackageReference Include="Microsoft.Azure.Services ...
Read more >
Azure Function dependencies - Microsoft Q&A
My project is currently in .Net Framework using Microsoft.NET.Sdk.Functions v1.0.38 which has a dependency on Newtonsoft.Json v9.0.1.
Read more >
Netwontsoft.Json dependency conflicts with Azure Functions ...
We encountered the Newtonsoft.Json conflict in our Azure Functions project for background processing (another series to come later) after adding ...
Read more >
Azure SDK for .NET (January 2021)
Update dependency of Microsoft.Azure.Amqp to version 2.4.9. Newtonsoft.Json support for Azure.Core Changelog. Initial release of Microsoft.Azure.
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