
CVE catalog
CVE-2021-32791
libapache2-mod-auth-openidc: CVE-2021-32791
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.50% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libapache2-mod-auth-openidc | sid | 2.4.20.3-1 | fixed |
| Debian | libapache2-mod-auth-openidc | forky | 2.4.20.3-1 | fixed |
| Debian | libapache2-mod-auth-openidc | trixie | 2.4.17-1 | fixed |
| Debian | libapache2-mod-auth-openidc | trixie-security | 2.4.17-1+deb13u1 | fixed |
| Debian | libapache2-mod-auth-openidc | bookworm | 2.4.12.3-2+deb12u4 | fixed |
| Debian | libapache2-mod-auth-openidc | bookworm-security | 2.4.12.3-2+deb12u5 | fixed |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.1.6-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.1-2 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.2-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.2-1build1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.3-1build1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 20.04 | 2.3.10.2-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 20.04 | 2.4.0.4-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 20.04 | 2.4.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libapache2-mod-auth-openidc | source | sid | 2.4.9-1 | not yet assigned | Not reported | [991581] |
| Debian | libapache2-mod-auth-openidc | source | forky | 2.4.9-1 | not yet assigned | Not reported | [991581] |
| Debian | libapache2-mod-auth-openidc | source | trixie | 2.4.9-1 | not yet assigned | Not reported | [991581] |
| Debian | libapache2-mod-auth-openidc | source | bookworm | 2.4.9-1 | not yet assigned | Not reported | [991581] |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libapache2-mod-auth-openidc]Unknown
Details (4)
2.4.12.3-2+deb12u4· amd64 · bookwormFixed · Fixed:
2.4.9-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
2.4.12.3-2+deb12u4· arm64 · bookwormFixed · Fixed:
2.4.9-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
2.4.12.3-2+deb12u4· amd64 · bookworm-securityFixed · Fixed:
2.4.9-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
2.4.12.3-2+deb12u4· arm64 · bookworm-securityFixed · Fixed:
2.4.9-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
[Debian 13 (Trixie)]
- [libapache2-mod-auth-openidc]Unknown
Details (3)
2.4.17-1· amd64 · trixieFixed · Fixed:
2.4.9-1dsa · libapache2-mod-auth-openidc · debian · 13
2.4.17-1· arm64 · trixieFixed · Fixed:
2.4.9-1dsa · libapache2-mod-auth-openidc · debian · 13
2.4.17-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.4.9-1dsa · libapache2-mod-auth-openidc · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2022:1823]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_1823.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-32791]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-32791]
- [https://security-tracker.debian.org/tracker/CVE-2021-32791]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2023-0580.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]