CVE-2021-32791
Summary
| CVE | CVE-2021-32791 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-26 17:15:00 UTC |
| Updated | 2023-11-07 03:35: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. 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. |
Risk And Classification
Problem Types: CWE-330 | CWE-323
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Apache | Http Server | All | All | All | All |
| Operating System | Fedoraproject | Fedora | 33 | All | All | All |
| Operating System | Fedoraproject | Fedora | 34 | All | All | All |
| Application | Openidc | Mod Auth Openidc | All | All | All | All |
| Application | Zmartzone | Mod Auth Openidc | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] [DLA 3409-1] libapache2-mod-auth-openidc security update | MLIST | lists.debian.org | |
| use encrypted JWTs for storing encrypted cache contents · zmartzone/mod_auth_openidc@375407c · GitHub | MISC | github.com | |
| [SECURITY] Fedora 33 Update: mod_auth_openidc-2.4.9-1.fc33 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| Oracle Critical Patch Update Advisory - April 2022 | MISC | www.oracle.com | |
| Hardcoded static IV and AAD with a reused key in AES GCM encryption · Advisory · zmartzone/mod_auth_openidc · GitHub | CONFIRM | github.com | |
| Release release 2.4.9 · zmartzone/mod_auth_openidc · GitHub | MISC | github.com | |
| [SECURITY] Fedora 33 Update: mod_auth_openidc-2.4.9-1.fc33 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 34 Update: mod_auth_openidc-2.4.9-1.fc34 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 34 Update: mod_auth_openidc-2.4.9-1.fc34 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| 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
- 159800 Oracle Enterprise Linux Security Update for mod_auth_openidc:2.3 (ELSA-2022-1823)
- 179718 Debian Security Update for libapache2-mod-auth-openidc (CVE-2021-32791)
- 181758 Debian Security Update for libapache2-mod-auth-openidc (DLA 3409-1)
- 240273 Red Hat Update for mod_auth_openidc:2.3 (RHSA-2022:1823)
- 281777 Fedora Security Update for mod_auth_openidc (FEDORA-2021-17f5cedf66)
- 281778 Fedora Security Update for mod_auth_openidc (FEDORA-2021-e3017c538a)
- 377581 Alibaba Cloud Linux Security Update for mod_auth_openidc:2.3 (ALINUX3-SA-2022:0135)
- 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)
- 901844 Common Base Linux Mariner (CBL-Mariner) Security Update for httpd (6481-1)
- 940537 AlmaLinux Security Update for mod_auth_openidc:2.3 (ALSA-2022:1823)
- 960287 Rocky Linux Security Update for mod_auth_openidc:2.3 (RLSA-2022:1823)