Miggo Logo

CVE-2021-40143: HTTP header injection in Sonatype Nexus Repository

8.2

CVSS Score
3.1

Basic Information

EPSS Score
0.67902%
Published
9/8/2021
Updated
2/1/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.sonatype.nexus:nexus-repositorymaven>= 3.0.0, <= 3.33.1-013.34.0-01

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The provided information does not include specific code snippets, commit diffs, or patch details that would allow identification of exact vulnerable functions. While the vulnerability (CWE-74) suggests improper neutralization of user input used in HTTP headers, the lack of technical implementation details (e.g., class/method names, file paths, or code examples) makes it impossible to pinpoint specific functions with high confidence. HTTP header injection typically involves unsafe concatenation of user-controlled data into headers (e.g., via setHeader() or similar methods), but without concrete evidence from the codebase, no functions can be definitively identified.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Son*typ* N*xus R*pository *.x t*rou** *.**.*-** is vuln*r**l* to *n *TTP *****r inj**tion. *y s*n*in* * *r**t** *TTP r*qu*st, * r*mot* *tt**k*r m*y *is*los* s*nsitiv* in*orm*tion or r*qu*st *xt*rn*l r*sour**s *rom * vuln*r**l* inst*n**.

Reasoning

T** provi*** in*orm*tion *o*s not in*lu** sp**i*i* *o** snipp*ts, *ommit *i**s, or p*t** **t*ils t**t woul* *llow i**nti*i**tion o* *x**t vuln*r**l* *un*tions. W*il* t** vuln*r**ility (*W*-**) su***sts improp*r n*utr*liz*tion o* us*r input us** in `*