LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32791: Hardcoded static IV and AAD with a reused key in AES GCM encryption in mod_auth_openidc

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.

MediumCVSS 5.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-32791 affects Apache deployments using mod_auth_openidc before 2.4.9. The module encrypted data with repeated AES-GCM parameters, weakening confidentiality protections. The business concern is possible exposure of sensitive authentication-related data, but the published scoring indicates high attack complexity and no integrity or availability impact.

Executive priority

Treat as a scheduled security update, not an emergency unless the module protects highly sensitive or exposed applications. Patch affected authentication gateways promptly because the weakness concerns confidentiality in identity infrastructure.

Technical view

mod_auth_openidc before 2.4.9 used static IV and AAD values with a reused AES-GCM key, creating nonce reuse. The advisory states 2.4.9 changed encryption to dynamic values using cjose AES routines. CVSS 3.1 is 5.9: network reachable, high attack complexity, high confidentiality impact only.

Likely exposure

Exposure is limited to Apache 2.x servers running zmartzone mod_auth_openidc versions earlier than 2.4.9, including downstream packaged versions before their security updates. Systems using the module to protect sensitive applications or login flows deserve priority.

Exploitation context

The provided sources do not show active exploitation, and the CVE is not listed as KEV in the bundle. The risk comes from cryptographic misuse that can weaken confidentiality when the same key and static nonce material are reused.

Researcher notes

Focus validation on version provenance and downstream backports. The key technical issue is AES-GCM nonce reuse from static IV and AAD under a reused key. Do not assume exploitability beyond the advisory and CVSS high-complexity assessment.

Mitigation direction

  • Upgrade mod_auth_openidc to 2.4.9 or later.
  • Apply fixed Fedora, Debian, Oracle, or other vendor packages where applicable.
  • Prioritize internet-facing Apache OIDC relying-party deployments.
  • Check vendor guidance for any post-upgrade operational steps.
  • Track exceptions for systems that cannot be upgraded promptly.

Validation and detection

  • Inventory Apache hosts for loaded mod_auth_openidc modules.
  • Confirm deployed mod_auth_openidc versions are 2.4.9 or vendor-fixed builds.
  • Review package manager records against relevant distro advisories.
  • Verify protected routes still authenticate correctly after patching.
  • Record remaining vulnerable instances and compensating controls.
Prepared
Confidence
high
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-323: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-330: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32791 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
8Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.9CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N2.23.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.9Medium
CVSS 3.1 vector shape for CVE-2021-32791Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
zmartzonemod_auth_openidc< 2.4.9Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-323 · source CWE mapping

Reusing a Nonce, Key Pair in Encryption

Reusing a Nonce, Key Pair in Encryption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-330 · source CWE mapping

Use of Insufficiently Random Values

Use of Insufficiently Random Values represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.