Closed alex-quest closed 6 months ago
All extensions using "Microsoft.Extensions.Azure": "1.7.1"
need to be updated to 1.7.3
Hi @liliankasem. When is this supposed to be available? I still don't see Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.18.0 available for download/update
Description
Similar to the issue: Azure function with QueueTrigger fails to pass whitesource scan (Azure Identity Library for .NET Information Disclosure Vulnerability)
I created an empty Azure Function with ServiceBusTrigger. It fails to pass whitesource scan. The reason reported be WS:
CVE-2024-29992 Medium 09-04-2024 10-04-2024 Azure Identity Library for .NET Information Disclosure Vulnerability
Given library seems a dependency of Microsoft.Azure.Functions.Worker.Extension which in turn a dependency of .NETCoreApp (v6.0)
The vulnerable dll is in the output .azurefunctions folder:
And can't be overwritten there even if you enforce to install Azure.Identity 1.11 to the project direct dependency.
The full line of dependencies from .azurefunctions\function.deps.json file:
Steps to reproduce
Open zipped demo project in VS. Build it. Find the Azure.Identity.dll v 1.10.3 inside of the bin\Debug\net8.0.azurefunctions folder. FunctionAppTest.zip