Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable nuget audit #17888

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

vzarytovskii
Copy link
Member

Fixes #17884

@vzarytovskii vzarytovskii requested a review from a team as a code owner October 16, 2024 08:15
Copy link
Contributor

✅ No release notes required

@vzarytovskii
Copy link
Member Author

These need to be fixed:

/home/vsts/work/1/s/src/FSharp.Build/FSharp.Build.fsproj : warning NU1903: Package 'System.Formats.Asn1' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-447r-wph3-92pm [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj : warning NU1903: Package 'System.Formats.Asn1' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-447r-wph3-92pm [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj : warning NU1903: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Compiler.ComponentTests/FSharp.Compiler.ComponentTests.fsproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/src/fsi/fsiProject/fsi.fsproj : warning NU1903: Package 'System.Formats.Asn1' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-447r-wph3-92pm [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/src/fsc/fscProject/fsc.fsproj : warning NU1903: Package 'System.Formats.Asn1' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-447r-wph3-92pm [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Test.Utilities/FSharp.Test.Utilities.fsproj : warning NU1903: Package 'System.Formats.Asn1' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-447r-wph3-92pm [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Test.Utilities/FSharp.Test.Utilities.fsproj : warning NU1903: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Test.Utilities/FSharp.Test.Utilities.fsproj : warning NU1903: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-5f2m-466j-3848 [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Test.Utilities/FSharp.Test.Utilities.fsproj : warning NU1902: Package 'System.Private.Uri' 4.3.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Test.Utilities/FSharp.Test.Utilities.fsproj : warning NU1903: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-xhfc-gr8f-ffwc [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Test.Utilities/FSharp.Test.Utilities.fsproj : warning NU1903: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj : error NU1903: Warning As Error: Package 'System.Formats.Asn1' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-447r-wph3-92pm [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj : error NU1903: Warning As Error: Package 'System.Net.Http' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-7jgj-8wvc-jh57 [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]
/home/vsts/work/1/s/tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj : error NU1903: Warning As Error: Package 'System.Text.RegularExpressions' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-cmhx-cq75-c4mj [/home/vsts/work/1/s/FSharp.Compiler.Service.sln]

@vzarytovskii
Copy link
Member Author

vzarytovskii commented Oct 16, 2024

It can be investigated via dotnet nuget why path/to/project.fsproj Package.Name, we might need to force pin some of them.

It will also might be a good idea to move to CPS at some point (might me tricky due to implicit fslib deps).

@T-Gro
Copy link
Member

T-Gro commented Oct 17, 2024

This might be handy:

dotnet/arcade#15019 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

Successfully merging this pull request may close these issues.

Enable NuGet Audit in fsharp
3 participants