CVE-2021-32791
Last modified
CVE-2021-32791 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 1.50% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openidc | Mod Auth Openidc | < 2.4.9 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
References
- https://github.com/zmartzone/mod_auth_openidc/commit/375407c16c61a70b56fdbe13b0d2c8f11398e92cPatch, Third Party Advisory
- https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9Release Notes, Third Party Advisory
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-px3c-6x7j-3r9rPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
- https://github.com/zmartzone/mod_auth_openidc/commit/375407c16c61a70b56fdbe13b0d2c8f11398e92cPatch, Third Party Advisory
- https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9Release Notes, Third Party Advisory
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-px3c-6x7j-3r9rPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32791?
How severe is CVE-2021-32791?
How do I fix CVE-2021-32791?
Are you affected by CVE-2021-32791?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
