Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1tZ3I3LTU3ODItNmpoOc4ABDOt

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

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.

Permalink: https://github.com/advisories/GHSA-mgr7-5782-6jh9
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tZ3I3LTU3ODItNmpoOc4ABDOt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: 4 days ago
Updated: 4 days ago


Identifiers: GHSA-mgr7-5782-6jh9
References: Repository: https://github.com/reactiveui/refit
Blast Radius: 1.0

Affected Packages

nuget:Umbraco.Headless.Client.Net
Dependent packages: 1
Dependent repositories: 0
Downloads: 107,383 total
Affected Version Ranges: <= 1.4.1
Fixed in: 1.5.0
All affected versions: 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
All unaffected versions: 1.5.0