Vulnerabilities in pkg:nuget/Umbraco.Headless.Client.Net

PACKAGE
Advisory Summary

GHSA-mgr7-5782-6jh9 is a LOW the umbraco heartcore headless client vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Umbraco.Headless.Client.Net libraries in the NuGet ecosystem. The issue involves the umbraco heartcore headless client library uses a vulnerable refit dependency package. Remediation is available by upgrading affected packages to version 1.5.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/Umbraco.Headless.Client.Net

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/Umbraco.Headless.Client.Net. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-mgr7-5782-6jh9 - LOW The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package

GHSA-mgr7-5782-6jh9 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-mgr7-5782-6jh9
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product Umbraco.Headless.Client.Net
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix GHSA-mgr7-5782-6jh9

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

Umbraco.Headless.Client.Net fixed: 1.5.0
Upgrade Umbraco.Headless.Client.Net to 1.5.0
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 Umbraco.Headless.Client.Net

How to Check if You Are Affected

To determine whether your application is affected by GHSA-mgr7-5782-6jh9, inspect your project dependencies for Umbraco.Headless.Client.Net:

inspect dependencies for Umbraco.Headless.Client.Net

Analyze the terminal output to locate any version of Umbraco.Headless.Client.Net in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), 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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Umbraco.Headless.Client.Net, 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 The Heartcore headless client library depends on [Refit ](https://github.com/reactiveui/refit) to assist in making HTTP requests to Heartcore public APIs. Refit recently published an advisory regarding a CRLF injection vulnerability whereby it is possible for a malicious user to smuggle additional headers or potentially body content into a request. This shouldn't affect Heartcore client library usage as the vulnerable method - `HttpHeaders.TryAddWithoutValidation` - is not used. However, since Refit is a transient dependency for applications using this library, then any users making direct use of Refit could be vulnerable. ### Patches The vulnerable version of Refit has been upgraded to a secure version, as of Umbraco.Headless.Client.Net version 1.5.0, available on [Nuget](https://www.nuget.org/packages/Umbraco.Headless.Client.Net/1.5.0). ### Workarounds If calling Refit from your own code, set any necessary HTTP headers without use of `HttpHeaders.TryAddWithoutValidation`. ### References See the [original Refit advisory](https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7) for further info.

GHSA-mgr7-5782-6jh9 Affected Umbraco.Headless.Client.Net Versions

1 component(s)
Fixed Versions:
1.5.0
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.Headless.Client.Net
NuGet
< 1.5.0
1.5.0

References

Frequently Asked Questions

What is GHSA-mgr7-5782-6jh9?
GHSA-mgr7-5782-6jh9 is a security vulnerability in Umbraco.Headless.Client.Net involving The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which Umbraco.Headless.Client.Net versions are affected?
Affected versions include releases prior to 1.5.0 across affected packages: Umbraco.Headless.Client.Net.
What version fixes GHSA-mgr7-5782-6jh9?
Upgrading to 1.5.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Umbraco.Headless.Client.Net affected?
Yes, Umbraco.Headless.Client.Net is affected in releases prior to 1.5.0. Upgrade your dependency to 1.5.0 or later.
What CWE is associated with GHSA-mgr7-5782-6jh9?
GHSA-mgr7-5782-6jh9 is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check NuGet dependencies for GHSA-mgr7-5782-6jh9?
Run the dependency tree command: 'inspect dependencies for Umbraco.Headless.Client.Net'. 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-mgr7-5782-6jh9",
  "modified" : "2025-01-13T16:18:39Z",
  "published" : "2025-01-13T16:18:39Z",
  "aliases" : [ ],
  "summary" : "The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package",
  "details" : "### Impact\nThe Heartcore headless client library depends on [Refit ](https://github.com/reactiveui/refit) to assist in making HTTP requests to Heartcore public APIs. Refit recently published an advisory regarding a CRLF injection vulnerability whereby it is possible for a malicious user to smuggle additional headers or potentially body content into a request.\n\nThis shouldn't affect Heartcore client library usage as the vulnerable method - `HttpHeaders.TryAddWithoutValidation` - is not used. However, since Refit is a transient dependency for applications using this library, then any users making direct use of Refit could be vulnerable.\n\n### Patches\nThe vulnerable version of Refit has been upgraded to a secure version, as of Umbraco.Headless.Client.Net version 1.5.0, available on [Nuget](https://www.nuget.org/packages/Umbraco.Headless.Client.Net/1.5.0).\n\n### Workarounds\nIf calling Refit from your own code, set any necessary HTTP headers without use of `HttpHeaders.TryAddWithoutValidation`.\n\n### References\nSee the [original Refit advisory](https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7) for further info.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Headless.Client.Net"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.4.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/reactiveui/refit/security/advisories/GHSA-3hxg-fxwm-8gf7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco.Headless.Client.Net/security/advisories/GHSA-mgr7-5782-6jh9"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-51501"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/umbraco/Umbraco.Headless.Client.Net"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395", "CWE-93" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-13T16:18:39Z",
    "nvd_published_at" : null
  }
}