8.6
HIGH CVSS 3.1
CVE-2023-37464
Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose
Description

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).

INFO

Published Date :

July 14, 2023, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 8:11 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2023-37464 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Cisco cjose
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
This vulnerability can be mitigated by updating affected packages to the latest versions available.
  • Update the affected cjose and mod_auth_openidc packages.
  • Upgrade to cjose version 0.6.2.2 or later.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-37464.

URL Resource
https://datatracker.ietf.org/doc/html/rfc7518#section-4.7 Third Party Advisory
https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e Patch
https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2 Release Notes
https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj Exploit Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/
https://lists.fedoraproject.org/archives/list/[email protected]/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/
https://lists.fedoraproject.org/archives/list/[email protected]/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/
https://www.debian.org/security/2023/dsa-5472
https://datatracker.ietf.org/doc/html/rfc7518#section-4.7 Third Party Advisory
https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e Patch
https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2 Release Notes
https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj Exploit Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/
https://lists.fedoraproject.org/archives/list/[email protected]/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/
https://lists.fedoraproject.org/archives/list/[email protected]/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/
https://www.debian.org/security/2023/dsa-5472
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-37464 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-37464 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-37464 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://datatracker.ietf.org/doc/html/rfc7518#section-4.7
    Added Reference https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e
    Added Reference https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2
    Added Reference https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj
    Added Reference https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/
    Added Reference https://www.debian.org/security/2023/dsa-5472
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Sep. 15, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/LCQJXKDPCWCXB2V4JMQ3UWYJ4UIBPUW6/ [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 10, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/PTZHOVGY7AHGNMEY245HK4Q36AMA53AL/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DFWAPMYYVBO2U65HPYDTBEKNSXG4TP5C/ [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 09, 2023

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2023/dsa-5472 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 04, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/08/msg00002.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 31, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://datatracker.ietf.org/doc/html/rfc7518#section-4.7 No Types Assigned https://datatracker.ietf.org/doc/html/rfc7518#section-4.7 Third Party Advisory
    Changed Reference Type https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e No Types Assigned https://github.com/OpenIDC/cjose/commit/7325e9a5e71e2fc0e350487ecac7d84acdf0ed5e Patch
    Changed Reference Type https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2 No Types Assigned https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.2 Release Notes
    Changed Reference Type https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj No Types Assigned https://github.com/OpenIDC/cjose/security/advisories/GHSA-3rhg-3gf2-6xgj Exploit, Patch, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:cisco:cjose:*:*:*:*:*:*:*:* versions up to (excluding) 0.6.2.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.6
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.25 }} -0.06%

score

0.48544

percentile