{"id":"GHSA-mgr7-5782-6jh9","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","modified":"2025-01-13T16:34:22.700805Z","published":"2025-01-13T16:18:39Z","database_specific":{"github_reviewed_at":"2025-01-13T16:18:39Z","nvd_published_at":null,"cwe_ids":["CWE-1395","CWE-93"],"severity":"LOW","github_reviewed":true},"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"}],"affected":[{"package":{"name":"Umbraco.Headless.Client.Net","ecosystem":"NuGet","purl":"pkg:nuget/Umbraco.Headless.Client.Net"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}],"versions":["0.9.0.27621-RC","0.9.0.27622-RC","0.9.0.27906-RC","0.9.0.28041-RC","0.9.0.28188-RC","0.9.0.28348-RC","0.9.0.28847-RC","0.9.0.28874-RC","0.9.0.29124-RC","0.9.0.29125-RC","0.9.0.29126-RC","0.9.0.29224-RC","1.0.0.29753","1.0.0.31151-RC","1.0.0.31370-RC","1.1.0.31374-RC","1.1.0.31402-RC","1.1.0.31406","1.1.0.31470-RC","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.4.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-mgr7-5782-6jh9/GHSA-mgr7-5782-6jh9.json"}}],"schema_version":"1.9.0"}