VDB
Sign up
MEDIUM5.2

GHSA-qv35-3gw6-8q4j

In regclient, pinned manifest digests may be ignored

Quick fix

GHSA-qv35-3gw6-8q4j — github.com/regclient/regclient: upgrade to the fixed version with the command below.

go get github.com/regclient/regclient@v0.7.1

Details

### 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/regclient/regclient
Introduced in: 0Fixed in: 0.7.1
Fixgo get github.com/regclient/regclient@v0.7.1

References