Miggo Logo

CVE-2021-41190:
Clarify Content-Type handling

3

CVSS Score
3.1

Basic Information

EPSS Score
0.42719%
Published
11/18/2021
Updated
2/1/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/opencontainers/distribution-specgo< 1.0.11.0.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from ambiguous interpretation of manifests/indexes based solely on Content-Type headers in the OCI Distribution Specification (spec.md), rather than specific code functions. The provided commit diff shows changes to documentation/specification requirements (clarifying mediaType/Content-Type alignment), not implementation code. The 'github.com/opencontainers/distribution-spec' package represents the specification document itself, not executable code with functions. Vulnerable behavior would manifest in implementations following the pre-1.0.1 spec guidance, but no specific functions are identifiable within the provided specification document context.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t In t** O*I *istri*ution Sp**i*i**tion v*rsion *.*.* *n* prior, t** *ont*nt-Typ* *****r *lon* w*s us** to **t*rmin* t** typ* o* *o*um*nt *urin* pus* *n* pull op*r*tions. *o*um*nts t**t *ont*in *ot* “m*ni**sts” *n* “l*y*rs” *i*l*s *oul* ** i

Reasoning

T** vuln*r**ility st*ms *rom *m*i*uous int*rpr*t*tion o* `m*ni**sts/in**x*s` **s** sol*ly on *ont*nt-Typ* *****rs in t** O*I *istri*ution Sp**i*i**tion (`sp**.m*`), r*t**r t**n sp**i*i* *o** *un*tions. T** provi*** *ommit *i** s*ows ***n**s to *o*um*