Security mailing lists by PureSourceCode

GHSA-qq97-vm5h-rrhg

LOW 3.0CVSS 3.1

OCI Manifest Type Confusion Issue

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.

Workarounds

There is no way to work around this issue without patching.

References

Due to an oversight in the OCI Image Specification 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:

Published
8 Feb 2022
Last modified
7 Aug 2026
Weakness
CWE-843
Also known as
GO-2022-0379
Sources
OSVJSONOSV GO-2022-0379JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 LOW 3.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/docker/distribution < 2.8.0 2.8.0
OSV Go github.com/docker/distribution < 2.8.0+incompatible 2.8.0+incompatible

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Jul 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.