Advisory

GHSA-mgr7-5782-6jh9

Also known as: None

Summary

The Umbraco Heartcore headless client library uses a vulnerable Refit dependency package

Details

Impact
The Heartcore headless client library depends on 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.

Workarounds
If calling Refit from your own code, set any necessary HTTP headers without use of HttpHeaders.TryAddWithoutValidation.

References
See the original Refit advisory for further info.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-01-13 16:18 UTC
Modified
2025-01-13 16:34 UTC

Affected packages and fixes

Umbraco.Headless.Client.Net

NuGet · All systems

Affected

  • introduced 0, fixed 1.5.0 (ecosystem)

Fixed versions

1.5.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences