CVE-2021-32785
Summary
| CVE | CVE-2021-32785 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-22 22:15:00 UTC |
| Updated | 2024-01-30 20:47:00 UTC |
| Description | 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. 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [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 |
No vendor comments have been submitted for this CVE.
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)