Insufficient Verification of Data Authenticity Affecting github.com/regclient/regclient/scheme/reg package, versions <0.7.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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

Introduced: 5 Aug 2024

CVE NOT AVAILABLE CWE-345 Open this link in a new tab

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.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    High
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None