{"id":"GHSA-mgr7-5782-6jh9","aliases":[],"url":"https://o3.security/vulnerability/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","published":"2025-01-13T16:18:39Z","modified":"2025-01-13T16:34:22.700805Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"NuGet","name":"Umbraco.Headless.Client.Net","fixedVersion":"1.5.0"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2025-01-13T16:34:22.700805Z"}}