This is a reoccurring issue that results in this type of that prevents dotnet builds when Magick.NET finds a new security vulnerability. This is the error it usually gives:
[dotnet build] D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj :
error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.9.1 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-q3hc-j9x5-mp9m
[D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj]
[dotnet build] D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj :
error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.9.1 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-q3hc-j9x5-mp9m
[D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj]
[dotnet build] D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj :
error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.9.1 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-q3hc-j9x5-mp9m
[D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj]
[dotnet build] D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj :
error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.9.1 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-q3hc-j9x5-mp9m
[D:\TC\w\e48624391eef0fbf\UE5\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj]
The last time this happened it was mentioned here (with a fix): [Content removed]
I’ve also seen others ask about a permanent fix which was mentioned here a while back:
[Content removed]
That fix doesn’t seem to work anymore, as anytime they find a new vulnerability the issue happens again. This almost always results in a work stoppage for a few days with our automated testing.
Version 5.7 has shipped with the fix. The fix is specific to the Development target as this is what our tools are using. The other targets (Release, Debug..) are not needed. What is the operation that generates the error?
Are you compiling the entire solution? That would be the likely source of the error. If you are, you can save time and HDD space as this is not useful. You should only need to build the editor Development target for your project. The rest of the tools and exes are built when required by the different operation. The only exceptions are Lightmass and UnrealInsights. You are likely not using LM and Insights is not needed on build machines.
We are looking at turning off the NuGet audit for all targets except Analyze. The change should land in the Release5.7 in the coming days.
Not the entire solution, no. The main problem with the error is it causes our automated builds to fail. Those just build editor, and development for all major platforms.