CVE-2021-32637
NixOS vulnerability analysis and mitigation

Overview

Authelia, a single sign-on multi-factor portal for web apps, was found to contain an authentication bypass vulnerability (CVE-2021-32637) that affects users utilizing nginx ngxhttpauthrequestmodule. The vulnerability was discovered in May 2021 and allows malicious actors to bypass authentication mechanisms by crafting malformed HTTP requests (GitHub Advisory).

Technical details

The vulnerability affects versions v4.0.0-alpha1 to v4.29.2 of Authelia. When using nginx's ngxhttpauthrequestmodule, a malformed URI path in the HTTP request could lead to authentication bypass. While the vulnerability could theoretically affect other proxy servers, all officially supported ones except nginx prevent malformed URI paths. The vulnerability has been assigned a CVSS v3.1 Base Score of 8.7, reflecting high attack complexity and potential for significant impact on confidentiality and integrity (GitHub Advisory).

Impact

The vulnerability allows unauthorized access to protected resources by bypassing authentication mechanisms. This could lead to significant breaches in confidentiality and integrity of protected systems, though it does not directly impact system availability (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in Authelia version v4.29.3. For users unable to upgrade immediately, a workaround involves adding a block in the nginx configuration that fails requests containing malformed URIs in the internal location block. A regex check can be implemented to ensure only valid characters are present in the $request_uri header (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management