Read the docs
TI-2022-26471 Aliases GHSA-qq97-vm5h-rrhg

OCI Manifest Type Confusion Issue

Priority LOW 38CWE-843Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact Systems that rely on digest equivalence for image attestations may be vulnerable to type confusion. ### Patches Upgrade to at least `v2.8.0-beta.1` if you are running `v2.x` release. If you use the code from the `main` branch, update at least to the commit after [b59a6f827947f9e0e67df0cfb571046de4733586](https://github.com/distribution/distribution/commit/b59a6f827947f9e0e67df0cfb571046de4733586). ### Workarounds There is no way to work around this issue without patching. ### References Due to [an oversight in the OCI Image Specification](https://github.com/opencontainers/image-spec/pull/411) that removed the embedded `mediaType` field from manifests, a maliciously crafted OCI Container Image can cause registry clients to parse the same image in two different ways without modifying the image’s digest by modifying the `Content-Type` header returned by a registry. This can invalidate a common pattern of relying on container image digests for equivalence. ### For more information If you have any questions or comments about this advisory: * Open an issue in [distribution](https://github.com/distribution/distribution) * Open an issue in [distribution-spec](https://github.com/opencontainers/distribution-spec) * Email us at [[email protected]](mailto:[email protected])

Why it matters now

Fix Fixed github.com/docker/distribution (Go): 2.8.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/docker/distribution (Go)before 2.8.02.8.0Patch availableGHSA-qq97-vm5h-rrhg
  • github.com/docker/distribution (Go) Vendor— Affected before 2.8.0 Fixed in 2.8.0 Patch available GHSA-qq97-vm5h-rrhg

Remediation

  • Fix · GHSA-qq97-vm5h-rrhg github.com/docker/distribution (Go) Fixed in 2.8.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-qq97-vm5h-rrhg

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences