Closed rido-min closed 7 months ago
Hi @rido-min. Thanks for reaching out and we regret that you're experiencing difficulties. It looks like this is correct; the Avro dependency on Newtonsoft.Json traces back to v10.0.3, which is marked as vulnerable. For some reason, NuGet is not marking the Avro package itself as vulnerable, so we were not alerted.
Looks like the latest Apache.Avro package, v11.1.3 still references v10.0.3, so it's not a simple dependency bump. We'll take a look at our options for resolving. In the meantime, your app can attempt to mitigate by taking a direct reference on Newtonsoft.Json v13.0.3, which will hoist the version used. That said, we cannot guarantee that the Avro package will work with the newer Newtonsoft.Json version, so we'd recommend testing thoroughly.
Thanks !! I'll try with the latest NewtonSoft.
I also reported this issue in https://issues.apache.org/jira/browse/AVRO-3963 and they said it's already fixed with https://github.com/apache/avro/pull/2589.
Once the new Avro package is out, we should release a new version of Microsoft.Azure.Data.SchemaRegistry.ApacheAvro
As a mitigation for this until a new Apache.Avro
package is published, we've released a hot fix (1.0.1) which takes a direct reference on Newtonsoft.Json
to hoist the version to 13.0.3.
Hi @rido-min. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
Closing as resolved
Library name and version
Microsoft.Azure.Data.SchemaRegistry.ApacheAvro 1.0.0
Describe the bug
When I install Microsoft.Azure.Data.SchemaRegistry.ApacheAvro 1.0.0 in a
net8.0
project I got security vulnerabilities:returns
Expected behavior
Microsoft packages should not include dependencies with High Severity warnings.
Actual behavior
System.Net.Http, System.Text.RegularExpressions and Newtonsoft.Json are out of date
Reproduction Steps
Environment