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 v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 5.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact High Low
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1188638 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Server Applications 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • apache2-mod_auth_openidc >= 2.3.8-3.15.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP3-2021-3020
SUSE Enterprise Storage 7
SUSE Linux Enterprise High Performance Computing 15 SP2
SUSE Linux Enterprise Module for Server Applications 15 SP2
SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server for SAP Applications 15 SP2
SUSE Manager Proxy 4.1
SUSE Manager Retail Branch Server 4.1
SUSE Manager Server 4.1
  • apache2-mod_auth_openidc >= 2.3.8-3.15.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP2-2021-3020
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Server Applications 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • apache2-mod_auth_openidc >= 2.3.8-3.15.1
Patchnames:
SUSE Linux Enterprise Module for Server Applications 15 SP4 GA apache2-mod_auth_openidc-2.3.8-3.15.1
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Server Applications 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • apache2-mod_auth_openidc >= 2.3.8-3.15.1
Patchnames:
SUSE Linux Enterprise Module for Server Applications 15 SP5 GA apache2-mod_auth_openidc-2.3.8-150100.3.25.1
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. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 apache2-mod_auth_openidc Released
SUSE Linux Enterprise High Performance Computing 12 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise High Performance Computing 15 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Module for Server Applications 15 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Real Time 15 SP3 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 12 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server 15 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 apache2-mod_auth_openidc Released
SUSE Manager Proxy 4.3 apache2-mod_auth_openidc Released
SUSE Manager Retail Branch Server 4.3 apache2-mod_auth_openidc Released
SUSE Manager Server 4.3 apache2-mod_auth_openidc Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP1 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 apache2-mod_auth_openidc Released
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 apache2-mod_auth_openidc Released
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 apache2-mod_auth_openidc Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS apache2-mod_auth_openidc Affected
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 Module for Server Applications 15 SP4 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server 15 SP2 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server 15 SP2-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 15 SP3 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server 15 SP3-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 15 SP4 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server 15 SP4-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 apache2-mod_auth_openidc Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP1 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Server for SAP Applications 15 SP3 apache2-mod_auth_openidc Released
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 apache2-mod_auth_openidc Affected
SUSE Enterprise Storage 6 apache2-mod_auth_openidc Affected
SUSE Enterprise Storage 7 apache2-mod_auth_openidc Released
SUSE Linux Enterprise Module for Server Applications 15 SP1 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Real Time 15 SP2 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Real Time 15 SP4 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 12 SP4 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 12 SP4-ESPOS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 12 SP4-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 15 SP1 apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 15 SP1-BCL apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 15 SP1-LTSS apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 15 SP2-BCL apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server 15 SP3-BCL apache2-mod_auth_openidc Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 apache2-mod_auth_openidc Affected
SUSE Manager Proxy 4.0 apache2-mod_auth_openidc Unsupported
SUSE Manager Proxy 4.1 apache2-mod_auth_openidc Released
SUSE Manager Proxy 4.2 apache2-mod_auth_openidc Released
SUSE Manager Retail Branch Server 4.0 apache2-mod_auth_openidc Unsupported
SUSE Manager Retail Branch Server 4.1 apache2-mod_auth_openidc Released
SUSE Manager Retail Branch Server 4.2 apache2-mod_auth_openidc Released
SUSE Manager Server 4.0 apache2-mod_auth_openidc Unsupported
SUSE Manager Server 4.1 apache2-mod_auth_openidc Released
SUSE Manager Server 4.2 apache2-mod_auth_openidc Released
SUSE OpenStack Cloud 9 apache2-mod_auth_openidc Affected
SUSE OpenStack Cloud Crowbar 9 apache2-mod_auth_openidc Affected


SUSE Timeline for this CVE

CVE page created: Fri Jul 23 05:07:24 2021
CVE page last modified: Mon Feb 5 11:31:42 2024