Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/docker/distribution
  4. ›
  5. GMS-2022-20

GMS-2022-20: OCI Manifest Type Confusion Issue

February 8, 2022 (updated February 9, 2023)

Impact

Systems that rely on digest equivalence for image attestations may be vulnerable to type confusion.

References

  • github.com/advisories/GHSA-qq97-vm5h-rrhg
  • github.com/distribution/distribution/commit/b59a6f827947f9e0e67df0cfb571046de4733586
  • github.com/distribution/distribution/security/advisories/GHSA-qq97-vm5h-rrhg
  • github.com/opencontainers/image-spec/pull/411

Code Behaviors & Features

Detect and mitigate GMS-2022-20 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.8.0

Fixed versions

  • v2.8.0

Solution

Upgrade to version 2.8.0 or above.

Source file

go/github.com/docker/distribution/GMS-2022-20.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.