CVE-2021-32785

Summary

CVECVE-2021-32785
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-07-22 22:15:00 UTC
Updated2024-01-30 20:47:00 UTC
Descriptionmod_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. When mod_auth_openidc versions prior to 2.4.9 are configured to use an unencrypted Redis cache (`OIDCCacheEncrypt off`, `OIDCSessionType server-cache`, `OIDCCacheType redis`), `mod_auth_openidc` wrongly performed argument interpolation before passing Redis requests to `hiredis`, which would perform it again and lead to an uncontrolled format string bug. Initial assessment shows that this bug does not appear to allow gaining arbitrary code execution, but can reliably provoke a denial of service by repeatedly crashing the Apache workers. This bug has been corrected in version 2.4.9 by performing argument interpolation only once, using the `hiredis` API. As a workaround, this vulnerability can be mitigated by setting `OIDCCacheEncrypt` to `on`, as cache keys are cryptographically hashed before use when this option is enabled.

Risk And Classification

Problem Types: CWE-134

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Http Server All All All All
Operating System Debian Debian Linux 10.0 All All All
Application Netapp Cloud Backup - All All All
Application Openidc Mod Auth Openidc All All All All
Application Zmartzone Mod Auth Openidc All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 3409-1] libapache2-mod-auth-openidc security update MLIST lists.debian.org
Merge pull request from GHSA-55r8-6w97-xxr4 · zmartzone/mod_auth_openidc@dc67268 · GitHub MISC github.com
Oracle Critical Patch Update Advisory - April 2022 MISC www.oracle.com
Format string bug in the Redis cache implementation · Advisory · zmartzone/mod_auth_openidc · GitHub CONFIRM github.com
Release release 2.4.9 · zmartzone/mod_auth_openidc · GitHub MISC github.com
July 2021 Apache HTTP Server Vulnerabilities in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179645 Debian Security Update for libapache2-mod-auth-openidc (CVE-2021-32785)
  • 181758 Debian Security Update for libapache2-mod-auth-openidc (DLA 3409-1)
  • 751134 OpenSUSE Security Update for apache2-mod_auth_openidc (openSUSE-SU-2021:3020-1)
  • 751149 OpenSUSE Security Update for apache2-mod_auth_openidc (openSUSE-SU-2021:1277-1)
  • 751211 SUSE Enterprise Linux Security Update for apache2-mod_auth_openidc (SUSE-SU-2021:3352-1)
  • 901284 Common Base Linux Mariner (CBL-Mariner) Security Update for httpd (6479-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report