Vulnerabilities in pkg:nuget/Umbraco.Headless.Client.Net
PACKAGEGHSA-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.
pkg:nuget/Umbraco.Headless.Client.Net
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
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.
Upgrade Umbraco.Headless.Client.Net to 1.5.0
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
GHSA-mgr7-5782-6jh9 Affected Umbraco.Headless.Client.Net Versions
1 component(s)| 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?
Which Umbraco.Headless.Client.Net versions are affected?
What version fixes GHSA-mgr7-5782-6jh9?
Is Umbraco.Headless.Client.Net affected?
What CWE is associated with GHSA-mgr7-5782-6jh9?
How can I check NuGet dependencies for GHSA-mgr7-5782-6jh9?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}