You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: CVE affecting legacy .NET versions, fix in main branch is unreleased #1782
Hi, thank you for raising this however, for .net6/8 we don't take a dependency on this package, please use net 8.0.6+ to resolve this issue. We have a dependency for netstandard2.0 and netframework as this is the only way we can use the functionality provided.
Therefore this is not a bug in Refit but a bug in the net 8.0 libraries.
We have a dependency for netstandard2.0 and netframework as this is the only way we can use the functionality provided.
My bug description is wrong, so I will edit it.
My security scanner is ignoring my use of net8.0-latest, and it is seeing your use of System.Text.Json 8.0.3 in the legacy frameworks. In main branch, you've updated legacy frameworks to System.Text.Json 8.0.4.
The bug is that you haven't released the 8.0.4 force-upgrade for legacy frameworks as Refit 7.1.3.
changed the title [-][Bug]: CVE affecting .NET releases up to version NET8.0[/-][+][Bug]: CVE affecting legacy .NET version, fix in main branch is unreleased[/+]on Aug 14, 2024
changed the title [-][Bug]: CVE affecting legacy .NET version, fix in main branch is unreleased[/-][+][Bug]: CVE affecting legacy .NET versions, fix in main branch is unreleased[/+]on Aug 14, 2024
At the moment we are working to apply a new code signing certificate, as soon as this is complete we will be making a release. Thank you for your feedback.
Activity
ChrisPulman commentedon Aug 14, 2024
Hi, thank you for raising this however, for .net6/8 we don't take a dependency on this package, please use net 8.0.6+ to resolve this issue. We have a dependency for netstandard2.0 and netframework as this is the only way we can use the functionality provided.
Therefore this is not a bug in Refit but a bug in the net 8.0 libraries.
derekm commentedon Aug 14, 2024
My bug description is wrong, so I will edit it.
My security scanner is ignoring my use of net8.0-latest, and it is seeing your use of System.Text.Json 8.0.3 in the legacy frameworks. In main branch, you've updated legacy frameworks to System.Text.Json 8.0.4.
The bug is that you haven't released the 8.0.4 force-upgrade for legacy frameworks as Refit 7.1.3.
Cf., https://www.nuget.org/packages/Refit#dependencies-body-tab where it says, "System.Text.Json (>= 8.0.3)". Refit 7.1.3 will say, "System.Text.Json (>= 8.0.4)".
[-][Bug]: CVE affecting .NET releases up to version NET8.0[/-][+][Bug]: CVE affecting legacy .NET version, fix in main branch is unreleased[/+][-][Bug]: CVE affecting legacy .NET version, fix in main branch is unreleased[/-][+][Bug]: CVE affecting legacy .NET versions, fix in main branch is unreleased[/+]ChrisPulman commentedon Aug 15, 2024
At the moment we are working to apply a new code signing certificate, as soon as this is complete we will be making a release. Thank you for your feedback.
Russ256 commentedon Sep 17, 2024
The 7.2.0 release notes say this has been fixed, but looks like the pr never got merged so this is still an issue.
ChrisPulman commentedon Sep 17, 2024
Russ256 commentedon Sep 18, 2024
This affects all versions, I'm getting a cve issue raised on a .net 8 project. The linked pr looks like the fix but was never merged.
ChrisPulman commentedon Sep 19, 2024
Please update to 7.2.1 this issue should be resolved, thank you
github-actions commentedon Oct 4, 2024
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.