LiveActive security incident?Get immediate response
CVE Record

CVE-2023-37464: Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose

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

HighCVSS 8.6Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

cjose can accept an incorrectly shortened AES-GCM authentication tag when decrypting encrypted JOSE data. That weakens integrity protection: a remote unauthenticated attacker may be able to alter protected JWE content. Organizations using cjose before 0.6.2.2 should treat this as a high-priority library exposure.

Executive priority

Prioritize remediation where cjose protects authentication, authorization, session, or inter-service security data. The business risk is altered encrypted security tokens or messages, not data theft by itself, based on the cited impact.

Technical view

OpenIDC/cjose versions before 0.6.2.2 use the tag length supplied in the JWE authentication tag instead of enforcing the RFC-required 16 octets for AES-GCM. The advisory says this permits truncated tags and corresponding JWE modification. CVSS is 8.6 with high integrity impact.

Likely exposure

Exposure is most likely in applications, services, or OS packages that link against OpenIDC/cjose and process encrypted JWE data using AES-GCM. Debian and Fedora advisories indicate downstream packaged exposure existed.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. The vulnerability is network-reachable, requires no privileges or user interaction, and affects integrity rather than confidentiality or availability.

Researcher notes

Key evidence is the OpenIDC advisory, the fixing commit, and RFC 7518 section 4.7 requiring a 128-bit authentication tag for AES-GCM content encryption. Evidence is strong for affected version and fix, but public exploit status is not established in the bundle.

Mitigation direction

  • Upgrade OpenIDC/cjose to version 0.6.2.2 or later.
  • Apply Debian or Fedora security updates where cjose is installed from packages.
  • If upgrade is blocked, avoid AES-GCM encryption in cjose-backed JWE flows.
  • Use an alternative encryption algorithm named by vendor guidance, such as AES-CBC.
  • Monitor OpenIDC and distribution advisories for packaging-specific remediation details.

Validation and detection

  • Inventory applications and containers for OpenIDC/cjose library usage.
  • Check installed cjose versions and confirm they are 0.6.2.2 or later.
  • Identify JWE processing paths that use AES-GCM with cjose.
  • Confirm downstream OS packages include the vendor security fix.
  • Add regression tests that reject non-16-octet AES-GCM authentication tags.
Prepared
Confidence
high
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-327: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-37464 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.6 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.6CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N3.94Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.6High
CVSS 3.1 vector shape for CVE-2023-37464Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OpenIDCcjose< 0.6.2.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-327 · source CWE mapping

Use of a Broken or Risky Cryptographic Algorithm

Use of a Broken or Risky Cryptographic Algorithm represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.