CVE-2021-32637: authelia Improper Authentication
Vulnerability summary
CVE-2021-32637 is a critical (CVSS 10.0) Improper Authentication vulnerability in authelia. EPSS estimates a 1.87% chance of exploitation in the next 30 days, higher than 79% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 28-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Authelia is a a single sign-on multi-factor portal for web apps. This affects uses who are using nginx ngx_http_auth_request_module with Authelia, it allows a malicious individual who crafts a malformed HTTP request to bypass the authentication mechanism. It additionally could theoretically affect other proxy servers, but all of the ones we officially support except nginx do not allow malformed URI paths. The problem is rectified entirely in v4.29.3. As this patch is relatively straightforward we can back port this to any version upon request. Alternatively we are supplying a git patch to 4.25.1 which should be relatively straightforward to apply to any version, the git patches for specific versions can be found in the references. The most relevant workaround is upgrading. You can also add a block which fails requests that contains a malformed URI in the internal location block.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
1.87%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
0.00 pp
From 1.87% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundAuthelia
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Authelia1 product
- authelia≥ 4.0.0-alpha1, < 4.29.3 | ≥ 4.0.0, < 4.25.1 | ≥ 4.26.0, < 4.29.3
Github.com/authelia/authelia1 product
- v4≥ 4.0.0-alpha1, < 4.29.3
2 vendors · 2 products
References
4 links- github.com/authelia/authelia/security/advisories/GHSA-68wm-pfjf-wqp6X Refsource CONFIRMWEBExploitMitigationPatchThird Party Advisory
- github.com/authelia/authelia/commit/c62dbd43d6e69ae81530e7c4f8763857f8ff1ddaX Refsource MISCWEBPatchThird Party Advisory
- github.com/authelia/autheliaPACKAGE