-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability #108678
Comments
You incorrectly specified the affected and patched versions of Because of this, the building of projects with |
I believe the same is true for .NET 8 as well: it says 8.0.8 and below are vulnerable with the patch being 8.0.10, but neither exist (8.0.5 was published today): https://www.nuget.org/packages/System.Text.Json |
My apologies. I have corrected the versions for the |
Will the changes apply to dependabot alerts? |
github/advisory-database#4882 - once this gets merged, the alerts should also go away |
@rbhanda this problem also exists with CVE-2024-43483. |
Forgive me if i'm mistaken but shouldn't the advisory text be refering to [JsonExtensionData] / JsonExtensionDataAttribute instead of [ExtensionData] (which I cant seem to find anywhere) ? |
@rbhanda Is it:
The amount of work required is very different between the two, but the security advisory is confusing.
Implies it's a runtime vulnerability.
Also implies that it's a runtime vulnerability. However the advisory has been linked to the nuget package only. Which is it? If it's a package vulnerability only why is the very large "How do I fix the issue?" section talking about the runtime? And why does "How do I know if I am affected?" mention the runtime? |
Tagging subscribers to this area: @dotnet/area-meta |
How do I update the target framework .net8? |
Hello, We updated the .NET 8 SDK and runtime to latest patch version as per the advisory but still the 'dotnet list --vulnerable --include-transitive' is showing the System.Text.Json as vulnerable. We don't have a direct dependency on the 'System.Text.Json'.
|
@jyothi530 use
to see where it is coming from. There are a few culprits we are seeing like the SQL server client |
@jyothi530 you can mitigate the issue by taking a direct dependency on System.Text.Json 8.0.5 (or whatever). Either in the csproj (etc) files, or in your Directory.Packages.props. |
Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability
Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in System.Text.Json 6.0.x and 8.0.x. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
In System.Text.Json 6.0.x and 8.0.x, applications which deserialize input to a model with an
[ExtensionData]
property can be vulnerable to an algorithmic complexity attack resulting in Denial of Service.Announcement
Announcement for this issue can be found at dotnet/announcements#329
Mitigation factors
JSON models which do not utilize the
[ExtensionData]
feature are not impacted by this vulnerability.Affected software
Affected Packages
The vulnerability affects any Microsoft .NET Core project if it uses any of affected packages versions listed below
.NET 8
.NET 6
Advisory FAQ
How do I know if I am affected?
If you have a runtime or SDK with a version listed, or an affected package listed in affected software or affected packages, you're exposed to the vulnerability.
How do I fix the issue?
dotnet --info
command. You will see output like the following;.NET 8.0 and .NET 6.0 updates are also available from Microsoft Update. To access this either type "Check for updates" in your Windows search, or open Settings, choose Update & Security and then click Check for Updates.
Once you have installed the updated runtime or SDK, restart your apps for the update to take effect.
Additionally, if you've deployed self-contained applications targeting any of the impacted versions, these applications are also vulnerable and must be recompiled and redeployed.
Other Information
Reporting Security Issues
If you have found a potential security issue in .NET 8.0 or .NET 6.0, please email details to secure@microsoft.com. Reports may qualify for the Microsoft .NET Core & .NET 5 Bounty. Details of the Microsoft .NET Bounty Program including terms and conditions are at https://aka.ms/corebounty.
Support
You can ask questions about this issue on GitHub in the .NET GitHub organization. The main repos are located at https://github.com/dotnet/runtime and https://github.com/dotnet/aspnet/. The Announcements repo (https://github.com/dotnet/Announcements) will contain this bulletin as an issue and will include a link to a discussion issue. You can ask questions in the linked discussion issue.
Disclaimer
The information provided in this advisory is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
External Links
CVE-2024-43485
Revisions
V1.0 (October 08, 2024): Advisory published.
Version 1.0
Last Updated 2024-10-08
The text was updated successfully, but these errors were encountered: