Use of a Broken or Risky Cryptographic Algorithm Affecting mod_auth_openidc:2.3/mod_auth_openidc package, versions <0:2.4.9.4-1.module_el8.7.0+3305+9a59f0c3


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.31% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of a Broken or Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-MODAUTHOPENIDC-5816315
  • published2 Aug 2023
  • disclosed1 Aug 2023

Introduced: 1 Aug 2023

CVE-2023-37464  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 mod_auth_openidc:2.3/mod_auth_openidc to version 0:2.4.9.4-1.module_el8.7.0+3305+9a59f0c3 or higher.
This issue was patched in ALSA-2023:4418.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mod_auth_openidc:2.3/mod_auth_openidc package and not the mod_auth_openidc:2.3/mod_auth_openidc package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). The AES GCM decryption routine incorrectly uses the Tag length from the actual Authentication Tag provided in the JWE. The spec says that a fixed length of 16 octets must be applied. Therefore this bug allows an attacker to provide a truncated Authentication Tag and to modify the JWE accordingly. Users should upgrade to a version >= 0.6.2.2. Users unable to upgrade should avoid using AES GCM encryption and replace it with another encryption algorithm (e.g. AES CBC).

CVSS Base Scores

version 3.1