AspNetKatana icon indicating copy to clipboard operation
AspNetKatana copied to clipboard

Microsoft.Owin.Security.WsFederation has a vulnerable Newtonsoft.Json package dependency

Open suuyashgupta opened this issue 1 year ago • 10 comments

Microsoft.Owin.Security.WsFederation has a Newtonsoft.Json v10.0.3 package dependency which is vulnerable as can be seen here as well. Could you please upgrade this package to latest to resolve this vulnerability so we could also upgrade it? Thanks.

suuyashgupta avatar Feb 05 '24 10:02 suuyashgupta

The version has already been updated, it looks like, on Sep 8, 2022. We just have to create a new release?

suuyashgupta avatar Feb 05 '24 14:02 suuyashgupta

You can update your Newtonsoft.Json dependency with a direct reference, you don't require any updates from Microsoft.Owin. This is common practice for patching.

Tratcher avatar Feb 05 '24 17:02 Tratcher

@Tratcher Actually, I'm already using the latest version of Newtonsoft.Json in my project but MEND is still detecting the vulnerabilities of transitive packages such as Microsoft.Owin.

suuyashgupta avatar Feb 06 '24 04:02 suuyashgupta

Then the tool isn't checking what you're actually using, just what some dependencies have referenced. You're fine if you've updated the dependency locally.

Tratcher avatar Feb 06 '24 16:02 Tratcher

@Tratcher There was one more thing I forgot to mention. project.assets.json file is showing those dependencies as well with lower versions of Newtonsoft. Could that cause any issue?

suuyashgupta avatar Feb 07 '24 07:02 suuyashgupta

? I thought project.assets.json was only for .NET Core projects.

Tratcher avatar Feb 07 '24 18:02 Tratcher

@Tratcher Not sure how it's generated in our project built with .NET Framework. No one in the team seems to know about this.

suuyashgupta avatar Feb 13 '24 06:02 suuyashgupta

Do we have a timeline when 4.2.3 would be released?

suuyashgupta avatar Feb 16 '24 10:02 suuyashgupta

No, you'd have to convince @adityamandaleeka that it's urgent.

Tratcher avatar Feb 16 '24 16:02 Tratcher

I'm also waiting on 4.2.3 for #513 . 4.2.2 was last released almost two years ago, so why the delay?

jthorpe80 avatar Mar 05 '24 22:03 jthorpe80