CVE-2024-28252: CoreWCF NetFraming based services can leave connections open when they should be closed
Impact If you have a NetFraming based CoreWCF service, extra system resources could be consumed by connections being left established instead of closing or aborting them. There are two scenarios when this can happen. When a client established a connection to the service and sends no data, the service will wait indefinitely for the client to initiate the NetFraming session handshake.
Published Mar 15, 2024 · Updated Apr 9, 2025
Affected packages
CoreWCF.NetFramingBase
- Ecosystem
- NuGet
- Affected
- >= 1.4.0, < 1.4.2
- Fixed in
- 1.4.2
- Check
dotnet list package --include-transitive
CoreWCF.NetFramingBase
- Ecosystem
- NuGet
- Affected
- >= 1.5.0, < 1.5.2
- Fixed in
- 1.5.2
- Check
dotnet list package --include-transitive
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
If you have a NetFraming based CoreWCF service, extra system resources could be consumed by connections being left established instead of closing or aborting them. There are two scenarios when this can happen. When a client established a connection to the service and sends no data, the service will wait indefinitely for the client to initiate the NetFraming session handshake. Additionally, once a client has established a session, if the client doesn't send any requests for the period of time configured in the binding ReceiveTimeout, the connection is not properly closed as part of the session being aborted. The bindings affected by this behavior are NetTcpBinding, NetNamedPipeBinding, and UnixDomainSocketBinding. Only NetTcpBinding has the ability to accept non local connections.
Patches
The currently supported versions of CoreWCF are v1.4.x and v1.5.x. The fix can be found in v1.4.2 and v1.5.2 of the CoreWCF packages.
Workarounds
There are no workarounds.
References
https://github.com/CoreWCF/CoreWCF/issues/1345
Credited to mirek-kopacka, birojnayak, mconnew.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
