Upstream information

CVE-2021-32785 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  SUSE
Base Score 5.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact Low
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1188638 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Module for Server Applications 15 SP2
  • apache2-mod_auth_openidc >= 2.3.8-3.15.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP2-2021-3020
SUSE Linux Enterprise Module for Server Applications 15 SP3
  • apache2-mod_auth_openidc >= 2.3.8-3.15.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP3-2021-3020
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • apache2-mod_auth_openidc >= 2.4.0-3.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2021-3352
openSUSE Leap 15.2
  • apache2-mod_auth_openidc >= 2.3.8-lp152.5.6.1
Patchnames:
openSUSE-2021-1277
openSUSE Leap 15.3
  • apache2-mod_auth_openidc >= 2.3.8-3.15.1
Patchnames:
openSUSE-SLE-15.3-2021-3020
openSUSE Tumbleweed
  • apache2-mod_auth_openidc >= 2.4.9.4-1.2
Patchnames:
openSUSE Tumbleweed GA apache2-mod_auth_openidc-2.4.9.4-1.2


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE CaaS Platform 4.0 apache2-mod_auth_openidc In progress
SUSE Enterprise Storage 6 apache2-mod_auth_openidc In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS apache2-mod_auth_openidc In progress
SUSE Linux Enterprise Module for Server Applications 15 SP2 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Module for Server Applications 15 SP3 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server 12 SP4 ESPOS apache2-mod_auth_openidc In progress
SUSE Linux Enterprise Server 12 SP4 LTSS apache2-mod_auth_openidc In progress
SUSE Linux Enterprise Server 12 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server 15 SP1 LTSS apache2-mod_auth_openidc In progress
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 apache2-mod_auth_openidc In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 apache2-mod_auth_openidc In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 apache2-mod_auth_openidc In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP1 apache2-mod_auth_openidc In progress
SUSE Manager Proxy 4.0 apache2-mod_auth_openidc In progress
SUSE Manager Retail Branch Server 4.0 apache2-mod_auth_openidc In progress
SUSE Manager Server 4.0 apache2-mod_auth_openidc In progress
SUSE OpenStack Cloud 9 apache2-mod_auth_openidc In progress
SUSE OpenStack Cloud Crowbar 9 apache2-mod_auth_openidc In progress