CVE-2024-28252: CoreWCF.NetFramingBase CoreWCF NetFraming Based Services Can Vulnerability

HIGH
Advisory Identifier: GHSA-32jq-mv89-5rx7
CVSS 7.5
CWE-404
Published
Advisory Summary

CVE-2024-28252 is a HIGH (CVSS 7.5) corewcf netframing based services can vulnerability (CWE-404: Improper Resource Shutdown or Release) affecting CoreWCF.NetFramingBase libraries in the NuGet ecosystem. The issue involves corewcf netframing based services can leave connections open when they should be closed. Remediation is available by upgrading affected packages to version 1.4.2, 1.5.2.

CVE-2024-28252 at a Glance

CVE Identifier CVE-2024-28252
GHSA Identifier GHSA-32jq-mv89-5rx7
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-404: Improper Resource Shutdown or Release
Affected Product CoreWCF.NetFramingBase
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2024-28252

To remediate this vulnerability, upgrade all affected CoreWCF.NetFramingBase dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

CoreWCF.NetFramingBase fixed: 1.4.2
Upgrade CoreWCF.NetFramingBase to 1.4.2
CoreWCF.NetFramingBase fixed: 1.5.2
Upgrade CoreWCF.NetFramingBase to 1.5.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for CoreWCF.NetFramingBase

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-28252, inspect your project dependencies for CoreWCF.NetFramingBase:

inspect dependencies for CoreWCF.NetFramingBase

Analyze the terminal output to locate any version of CoreWCF.NetFramingBase in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-404: Improper Resource Shutdown or Release, where the product does not release or incorrectly releases a resource before it is made available for re-use. In CoreWCF.NetFramingBase, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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

CVE-2024-28252 Affected CoreWCF.NetFramingBase Versions

2 component(s)
Fixed Versions:
1.4.21.5.2
Product / Package Ecosystem Affected Versions Fixed Version
CoreWCF.NetFramingBase
NuGet
≥ 1.4.0
< 1.4.2
1.4.2
CoreWCF.NetFramingBase
NuGet
≥ 1.5.0
< 1.5.2
1.5.2

References

Frequently Asked Questions

What is CVE-2024-28252?
CVE-2024-28252 is a security vulnerability in CoreWCF.NetFramingBase involving CoreWCF NetFraming based services can leave connections open when they should be closed under CWE-404: Improper Resource Shutdown or Release.
Which CoreWCF.NetFramingBase versions are affected?
Affected versions include releases prior to 1.4.2, 1.5.2 across affected packages: CoreWCF.NetFramingBase.
What version fixes CVE-2024-28252?
Upgrading to 1.4.2, 1.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is CoreWCF.NetFramingBase affected?
Yes, CoreWCF.NetFramingBase is affected in releases prior to 1.4.2, 1.5.2. Upgrade your dependency to 1.4.2, 1.5.2 or later.
What is the CVSS score of CVE-2024-28252?
CVE-2024-28252 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2024-28252?
CVE-2024-28252 is classified under CWE-404: Improper Resource Shutdown or Release (The product does not release or incorrectly releases a resource before it is made available for re-use.).
How can I check NuGet dependencies for CVE-2024-28252?
Run the dependency tree command: 'inspect dependencies for CoreWCF.NetFramingBase'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-32jq-mv89-5rx7",
  "modified" : "2025-04-09T19:58:40Z",
  "published" : "2024-03-15T19:20:17Z",
  "aliases" : [ "CVE-2024-28252" ],
  "summary" : "CoreWCF NetFraming based services can leave connections open when they should be closed",
  "details" : "### Impact\nIf 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.  \nThe bindings affected by this behavior are NetTcpBinding, NetNamedPipeBinding, and UnixDomainSocketBinding. Only NetTcpBinding has the ability to accept non local connections.\n\n### Patches\nThe 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.\n\n### Workarounds\nThere are no workarounds.\n\n### References\nhttps://github.com/CoreWCF/CoreWCF/issues/1345",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CoreWCF.NetFramingBase"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.4.0"
      }, {
        "fixed" : "1.4.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CoreWCF.NetFramingBase"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.5.0"
      }, {
        "fixed" : "1.5.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/CoreWCF/CoreWCF/security/advisories/GHSA-32jq-mv89-5rx7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-28252"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/CoreWCF/CoreWCF/issues/1345"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/CoreWCF/CoreWCF"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-404" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-15T19:20:17Z",
    "nvd_published_at" : "2024-03-15T19:15:07Z"
  }
}