CVE-2021-32791 MEDIUM

CVE-2021-32791: Hardcoded static IV and AAD with a reused key in AES GCM encryption in mod_auth_openidc

Vendor Zmartzone
Product mod_auth_openidc
Weakness CWE-323
Published July 26, 2021
Last update August 3, 2024

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 26, 2021 CVE published
August 3, 2024 Record updated