Advisory

GO-2022-0379

Also known as: GHSA-qq97-vm5h-rrhg

Summary

Type confusion in github.com/docker/distribution

Details

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

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, invalidating the common pattern of relying on container image digests for equivalence.

This problem has been addressed in newer versions by improving validation in manifest unmarshalling.

Severity

Not rated by the source.

Dates

Published
2022-07-29 20:00 UTC
Modified
2026-08-07 08:12 UTC

Affected packages and fixes

github.com/docker/distribution

Go · All systems

Affected

  • introduced 0, fixed 2.8.0+incompatible (semver)

Fixed versions

2.8.0+incompatible

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences