CVE-2021-32791
Apache HTTP Server vulnerability analysis and mitigation

Overview

CVE-2021-32791 affects modauthopenidc, an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party. The vulnerability was discovered in versions before 2.4.9 and was disclosed in July 2021 (GitHub Advisory).

Technical details

The vulnerability stems from the AES GCM encryption implementation in modauthopenidc using static Initialization Vector (IV) and Additional Authenticated Data (AAD). This creates a static nonce, and since AES-GCM is a stream cipher, using the same key with a static nonce can lead to known cryptographic issues (GitHub Advisory).

Impact

The use of static IV and AAD with a reused key in AES GCM encryption could potentially compromise the security of encrypted data, as it violates cryptographic best practices and could make the encryption vulnerable to cryptographic attacks (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 2.4.9 by implementing dynamic values through the usage of cjose AES encryption routines. Users are advised to upgrade to version 2.4.9 or later. Note that the format of encrypted cache contents have changed, and existing server-side sessions cannot survive an update to 2.4.9. It is recommended to clear the cache contents before restarting the Apache server with the upgraded module (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Apache HTTP Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-58098HIGH8.3
  • Apache HTTP ServerApache HTTP Server
  • mod_md
NoYesDec 05, 2025
CVE-2025-59775HIGH7.5
  • Apache HTTP ServerApache HTTP Server
  • apache2
NoYesDec 05, 2025
CVE-2025-55753HIGH7.5
  • Apache HTTP ServerApache HTTP Server
  • httpd:2.4::mod_proxy_html
NoYesDec 05, 2025
CVE-2025-65082MEDIUM6.5
  • Apache HTTP ServerApache HTTP Server
  • cpe:2.3:a:apache:http_server
NoYesDec 05, 2025
CVE-2025-66200MEDIUM5.4
  • Apache HTTP ServerApache HTTP Server
  • httpd:2.4::mod_md
NoYesDec 05, 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