CVE-2021-41190
Clarify Content-Type handling in OCI spec
CVE-2021-41190 affects Linuxfoundation Open Container Initiative Distribution Specification (CVSS 3.0, Low).
No known exploitation. EPSS puts it in the 83rd percentile. Fixed in 1.0.1.
No public exploit knownFix1.0.1Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.819311
What to do
Find your product and version, then upgrade to the build on the right.
- Opencontainers Distribution-specAffected: < 1.0.1Upgrade to: not statedStated by: CVE record
- Go github.com/opencontainers/distribution-specAffected: < 1.0.1Upgrade to: 1.0.1Stated by: GitHub advisory
- Linuxfoundation Open Container Initiative Distribution SpecificationAffected: ≤ 1.0.0Upgrade to: after 1.0.0Stated by: NVD
- Linuxfoundation Open Container Initiative Image Format SpecificationAffected: ≤ 1.0.1Upgrade to: after 1.0.1Stated by: NVD
- Red Hat Inc. Red Hat Enterprise LinuxAffected: 8Upgrade to: not statedStated by: BDU
Versions as the sources state them. 12 more products have version data. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
2.2% chance of exploitation activity in the next 30 days, which ranks it in the 83rd percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 1681 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
- Red Hat Enterprise LinuxOperating Systems / linux-distro
- Red Hat OpenShift Container PlatformOperating Systems / linux-distro
- Red Hat Advanced Cluster Security (RHACS) for KubernetesOperating Systems / linux-distro
- Red Hat Advanced Cluster Management for KubernetesOperating Systems / linux-distro
- Red Hat Migration Toolkit for ContainersOperating Systems / linux-distro
- PodmanOperating Systems / linux-distro
And 6 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
Scored 3.0 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required LowRequires basic user-level privileges
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity LowData modification is possible but limited in scope or consequence
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
Questions about CVE-2021-41190
- Is CVE-2021-41190 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 2.2%.
- Which versions are affected by CVE-2021-41190?
- Open Container Initiative Distribution Specification: ≤ 1.0.0. Open Container Initiative Image Format Specification: ≤ 1.0.1. Distribution-spec: < 1.0.1. 14 more products are listed in the record.
- How do I fix or mitigate CVE-2021-41190?
- Upgrade to 1.0.1 or later. The advisory is on github.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Linuxfoundation, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI