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.
{
"cpe": "cpe:2.3:a:spnego_http_authentication_module_project:spnego_http_authentication_module:*:*:*:*:*:nginx:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.1.1"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21335.json"
[
{
"id": "CVE-2021-21335-96db8614",
"source": "https://github.com/stnoonan/spnego-http-auth-nginx-module/commit/a06f9efca373e25328b1c53639a48decd0854570",
"signature_type": "Function",
"target": {
"function": "ngx_http_auth_spnego_handler",
"file": "ngx_http_auth_spnego_module.c"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "72009278362700319588796017657292650017",
"length": 3010.0
}
},
{
"id": "CVE-2021-21335-e3d42e4c",
"source": "https://github.com/stnoonan/spnego-http-auth-nginx-module/commit/a06f9efca373e25328b1c53639a48decd0854570",
"signature_type": "Line",
"target": {
"file": "ngx_http_auth_spnego_module.c"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"184303827427714694529644895348184658594",
"339901842394811731769551324700142596822",
"77201998263918464123882835720729499067",
"319109234672289250995724412850191116713"
],
"threshold": 0.9
}
}
]
"2026-07-09T10:52:09Z"