{"id":"GHSA-77vh-xpmg-72qh","revision":"7141bc978f204dc49c840755a9239233","records":[{"revision":"7141bc978f204dc49c840755a9239233","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-77vh-xpmg-72qh","aliases":[],"title":"Clarify `mediaType` handling","description":"### Impact\nIn the OCI Image Specification version 1.0.1 and prior, manifest and index documents are not self-describing and documents with a single digest could be interpreted as either a manifest or an index.\n\n### Patches\nThe Image Specification will be updated to recommend that both manifest and index documents contain a `mediaType` field to identify the type of document.\nRelease [v1.0.2](https://github.com/opencontainers/image-spec/releases/tag/v1.0.2) includes these updates.\n\n### Workarounds\nSoftware attempting to deserialize an ambiguous document may reject the document if it contains both “manifests” and “layers” fields or “manifests” and “config” fields.\n\n### References\nhttps://github.com/opencontainers/distribution-spec/security/advisories/GHSA-mc8v-mgrf-8f4m\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/opencontainers/image-spec\n* Email us at [security@opencontainers.org](mailto:security@opencontainers.org)\n* https://github.com/opencontainers/image-spec/commits/v1.0.2\n","state":0,"publishedAt":"2021-11-18T16:02:41+00:00","modifiedAt":"2026-09-10T03:49:09.703536+00:00","affected":[{"ecosystem":"Go","name":"github.com/opencontainers/image-spec","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/opencontainers/distribution-spec/security/advisories/GHSA-mc8v-mgrf-8f4m","https://github.com/opencontainers/image-spec/security/advisories/GHSA-77vh-xpmg-72qh","https://github.com/opencontainers/image-spec/commit/693428a734f5bab1a84bd2f990d92ef1111cd60c","https://github.com/opencontainers/image-spec","https://github.com/opencontainers/image-spec/releases/tag/v1.0.2"],"sourceUrl":"https://github.com/advisories/GHSA-77vh-xpmg-72qh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-77vh-xpmg-72qh","identifiers":["GHSA-77vh-xpmg-72qh"]},"retained":false,"historicalAffected":[]}],"coverage":[]}