CVE-2021-41190

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-41190
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41190.json
Aliases
Related
Published
2021-11-17T20:15:10Z
Modified
2023-11-29T09:03:03.841461Z
Details

The OCI Distribution Spec project defines an API protocol to facilitate and standardize the distribution of content. In the OCI Distribution Specification version 1.0.0 and prior, the Content-Type header alone was used to determine the type of document during push and pull operations. Documents that contain both “manifests” and “layers” fields could be interpreted as either a manifest or an index in the absence of an accompanying Content-Type header. If a Content-Type header changed between two pulls of the same digest, a client may interpret the resulting content differently. The OCI Distribution Specification has been updated to require that a mediaType value present in a manifest or index match the Content-Type header used during the push and pull operations. Clients pulling from a registry may distrust the Content-Type header and reject an ambiguous document that contains both “manifests” and “layers” fields or “manifests” and “config” fields if they are unable to update to version 1.0.1 of the spec.

References

Affected packages

Git / github.com/opencontainers/distribution-spec

Affected ranges

Type
GIT
Repo
https://github.com/opencontainers/distribution-spec
Events
Introduced
0The exact introduced commit is unknown
Fixed
Type
GIT
Repo
https://github.com/opencontainers/image-spec
Events
Introduced
0The exact introduced commit is unknown
Last affected
Last affected

Affected versions

v0.*

v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0

v1.*

v1.0.0
v1.0.0-rc0
v1.0.0-rc1
v1.0.0-rc2
v1.0.0-rc3
v1.0.0-rc4
v1.0.0-rc5
v1.0.0-rc6
v1.0.0-rc7
v1.0.1