Insufficient Verification of Data Authenticity Affecting github.com/regclient/regclient/scheme/reg package, versions <0.7.1
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMREGCLIENTREGCLIENTSCHEMEREG-7641086
- published 6 Aug 2024
- disclosed 5 Aug 2024
- credit Unknown
How to fix?
Upgrade github.com/regclient/regclient/scheme/reg
to version 0.7.1 or higher.
Overview
Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity due to the improper validation of manifest digests. An attacker can manipulate the manifest digest returned from a registry without detection by substituting the expected digest with a different one.
Workaround
This vulnerability can be mitigated by comparing the returned digest to the requested digest after running a regclient.ManifestGet
.