You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vulnerability is in System.Text.Encodings.Web@4.6.0. More information regarding the vulnerability itself - here.
Could you update the version of your System.Text.Json dependency to depend on a secure version of System.Text.Encodings.Web? The secure versions, as stated in the issue, are 4.5.1, 4.7.2 and >=5.0.1.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello @tiliev, thanks for reporting this issue. You're right, System.Text.Json v4.6.0 depends on System.Text.Encodings.Web v4.6.0 which has a security vulnerability. However, this vulnerability does not exist in Microsoft.Extensions.Configuration.AzureAppConfiguration package because we have another dependency that overrides the System.Text.Encodings.Web package to v4.7.2, which is a safe version. Here's the dependency chain:
So technically, even though we reference System.Text.Json 4.6.0, the actual version of System.Text.Encodings.Web that gets installed is 4.7.2 because Azure.Core mandates that version.
That being said, we are also looking into addressing the issue more explicitly.
@avanigupta thanks for your input. You are correct. That's good news.
At the end, the workaround we used is to explicitly reference System.Text.Encodings.Web@4.7.2 in our project. That made our vulnerability detection tool happy.
Hello,
Our vulnerability detection tool reports a security vulnerability in one of your dependencies:
Microsoft.Extensions.Configuration.AzureAppConfiguration@5.0.0
->System.Text.Json@4.6.0
->System.Text.Encodings.Web@4.6.0
The vulnerability is in
System.Text.Encodings.Web@4.6.0
. More information regarding the vulnerability itself - here.Could you update the version of your
System.Text.Json
dependency to depend on a secure version ofSystem.Text.Encodings.Web
? The secure versions, as stated in the issue, are4.5.1
,4.7.2
and>=5.0.1
.Thanks.
The text was updated successfully, but these errors were encountered: