fsprojects / FSharp.Configuration

The FSharp.Configuration project contains type providers for the configuration of .NET projects.
http://fsprojects.github.io/FSharp.Configuration/
Other
114 stars 63 forks source link

FSharp.Configuration is vulnerable to CVE-2018-1000210 #159

Closed michalkovy closed 2 years ago

michalkovy commented 4 years ago

See vulnerability CVE-2018-1000210: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2018-1000210/

FSharp.Configuration 2.0.0-alpha2 nuget package contains YamlDotNet.dll which has this vulnerability in place.

Btw. it would be best if FSharp.Configuration nuget package referenced YamlDotNet instead of containing YamlDotNet.dll so that issues like this doesn't require repackage of FSharp.Configuration.

sergey-tihon commented 4 years ago

Btw. it would be best if FSharp.Configuration NuGet package referenced YamlDotNet instead of containing YamlDotNet.dll so that issues like this doesn't require repackage of FSharp.Configuration.

This is not possible (al least not easy doable) F# TP packages has unique Nuget package layout, that allow IDE/Compiler to resolve correctly design-time dependencies. https://github.com/fsprojects/FSharp.TypeProviders.SDK#nuget-package-layouts-you-should-use

sergey-tihon commented 2 years ago

v2.0 version contains YamlDotNet v11.2.1 that already contain the fix