Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1xdjM1LTNndzYtOHE0as4AA-Xo
In regclient, pinned manifest digests may be ignored
Impact
A malicious registry could return a different digest for a pinned manifest without detection.
Patches
This has been fixed in the v0.7.1 release.
Workarounds
After running a regclient.ManifestGet
, the returned digest can be compared to the requested digest.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xdjM1LTNndzYtOHE0as4AA-Xo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 4 months ago
Updated: 4 months ago
CVSS Score: 5.2
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:N
Identifiers: GHSA-qv35-3gw6-8q4j
References:
- https://github.com/regclient/regclient/security/advisories/GHSA-qv35-3gw6-8q4j
- https://github.com/regclient/regclient/commit/7d17cff26c22196b5ddd66bda8c5ee4abf3d1269
- https://pkg.go.dev/vuln/GO-2024-3038
- https://github.com/advisories/GHSA-qv35-3gw6-8q4j
Blast Radius: 6.3
Affected Packages
go:github.com/regclient/regclient
Dependent packages: 15Dependent repositories: 16
Downloads:
Affected Version Ranges: < 0.7.1
Fixed in: 0.7.1
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.6.0, 0.6.1, 0.7.0
All unaffected versions: 0.7.1, 0.7.2