CVE-2021-32791
published medium CVSS 3.1 · 5.9Hardcoded static IV and AAD with a reused key in AES GCM encryption in mod_auth_openidc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zmartzone | — | mod_auth_openidc< 2.4.9 | Affected | Not stated | GitHub_M |
| AlmaLinux | 8 | mod_auth_openidc | Advisory build | 2.3.7-11.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
| Oracle Linux | 8 | mod_auth_openidcaarch64 · mod_auth_openidc · 2.3b | Advisory build | 0:2.3.7-11.module+el8.6.0+20572+b6f23e95 | ELSA-2022-1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcaarch64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Debian | buster | libapache2-mod-auth-openidc | Advisory build | 2.3.10.2-1+deb10u2 | DLA-3409-1 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| Rocky Linux | 8 | mod_auth_openidcaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Oracle Linux | 8 | mod_auth_openidcx86_64 · mod_auth_openidc · 2.3b | Advisory build | 0:2.3.7-11.module+el8.6.0+20572+b6f23e95 | ELSA-2022-1823 |
Show 78 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcppc64le | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcs390x | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcsrc | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcx86_64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| AlmaLinux | 8 | cjose | Advisory build | 0.6.1-2.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
| AlmaLinux | 8 | cjose-devel | Advisory build | 0.6.1-2.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
| Oracle Linux | 8 | cjoseaarch64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Oracle Linux | 8 | cjosex86_64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Oracle Linux | 8 | cjose-develaarch64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Oracle Linux | 8 | cjose-develx86_64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjoseaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjoseppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjoses390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjosesrc | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjosex86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfoaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfoppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfos390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfox86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsourceaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsourceppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsources390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsourcex86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-develaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-develppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-devels390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-develx86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfoaarch64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfoppc64le | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfos390x | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfox86_64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsourceaarch64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsourceppc64le | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsources390x | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsourcex86_64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-lp152.5.6.1 | OPENSUSE-SU-2021:1277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| Rocky Linux | 8 | mod_auth_openidcsrc | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidcx86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjoseaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjosesrc | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjosex86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-develaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-develx86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
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. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zmartzone | mod_auth_openidc | < 2.4.9 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-323 CWE-323: Reusing a Nonce, Key Pair in Encryption
- CWE-330 CWE-330: Use of Insufficiently Random Values
References
7- https://github.com/zmartzone/mod_auth_openidc/commit/375407c16c61a70b56fdbe13b0d2c8f11398e92c
- https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-px3c-6x7j-3r9r
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3409-1] libapache2-mod-auth-openidc security update https://lists.debian.org/debian-lts-announce/2023/04/msg00034.html
- FEDORA-2021-e3017c538a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZVF6BSJLRQZ7PFFR4X5JSU6KUJYNOCU/
- FEDORA-2021-17f5cedf66 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXAWKPT5LXZSUTFSJ6IWSZC7RMYYQXQD/
- https://www.oracle.com/security-alerts/cpuapr2022.html
Provider assertions
2GitHub_M · cna
Hardcoded static IV and AAD with a reused key in AES GCM encryption in mod_auth_openidc
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 30446ec35caf93498780df643169b21e39c1461918b773974a55da60f492f835
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record