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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-32786mod_auth_openidc is an authentication/authorization module f…6.1
- CVE-2021-32787Sourcegraph is a code search and navigation engine. Sourcegr…4.3
- CVE-2021-32788Discourse is an open source discussion platform. In versions…4.3
- CVE-2021-32789woocommerce-gutenberg-products-block is a feature plugin for…7.5
- CVE-2021-3279sz.chat version 4 allows injection of web scripts and HTML i…6.1
- CVE-2021-32790Woocommerce is an open source eCommerce plugin for WordPress…4.9
- CVE-2021-32792mod_auth_openidc is an authentication/authorization module f…6.1
- CVE-2021-32793Pi-hole's Web interface provides a central location to manag…4.8
- CVE-2021-32794ArchiSteamFarm is a C# application with primary purpose of i…7.5
- CVE-2021-32795ArchiSteamFarm is a C# application with primary purpose of i…5.9
- CVE-2021-32796xmldom is an open source pure JavaScript W3C standard-based …5.3
- CVE-2021-32797JupyterLab is a user interface for Project Jupyter which wil…9.6
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
