Skip to main content
← All vulnerabilities
CVE-2021-32791

Hardcoded static IV and AAD with a reused key in AES GCM encryption in mod_auth_openidc

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.9
None on Exploit-DB, Metasploit or GitHub

Summary

mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In mod_auth_openidc before version 2.4.9, the AES GCM encryption in mod_auth_openidc uses a static IV and AAD. It is important to fix because this creates a static nonce and since aes-gcm is a stream cipher, this can lead to known cryptographic issues, since the same key is being reused. From 2.4.9 onwards this has been patched to use dynamic values through usage of cjose AES encryption routines.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • zmartzone mod_auth_openidc

    fixed in 2.4.9

References 7

GitHub · zmartzone/mod_auth_openidc

lists.fedoraproject.org

oracle.com

lists.debian.org