Vulnerability Details : CVE-2021-21335
In the SPNEGO HTTP Authentication Module for nginx (spnego-http-auth-nginx-module) before version 1.1.1 basic Authentication can be bypassed using a malformed username. This affects users of spnego-http-auth-nginx-module that have enabled basic authentication. This is fixed in version 1.1.1 of spnego-http-auth-nginx-module. As a workaround, one may disable basic authentication.
Vulnerability category: BypassGain privilege
Products affected by CVE-2021-21335
- Spnego Http Authentication Module Project » Spnego Http Authentication Module » For NginxVersions before (<) 1.1.1cpe:2.3:a:spnego_http_authentication_module_project:spnego_http_authentication_module:*:*:*:*:*:nginx:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21335
0.25%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 62 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21335
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
3.9
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2021-21335
-
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-21335
-
https://github.com/stnoonan/spnego-http-auth-nginx-module/releases/tag/v1.1.1
Release Rollup of changes since v1.1 · stnoonan/spnego-http-auth-nginx-module · GitHubThird Party Advisory
-
https://github.com/stnoonan/spnego-http-auth-nginx-module/security/advisories/GHSA-ww8q-72rx-hc54
Basic Authentication can be bypassed using a malformed username · Advisory · stnoonan/spnego-http-auth-nginx-module · GitHubPatch;Third Party Advisory
-
https://github.com/stnoonan/spnego-http-auth-nginx-module/commit/a06f9efca373e25328b1c53639a48decd0854570
Check basic auth result against != NGX_OK rather than == NGX_DECLINED · stnoonan/spnego-http-auth-nginx-module@a06f9ef · GitHubPatch;Third Party Advisory
Jump to