CVE-2023-50658
CBL Mariner vulnerability analysis and mitigation

Overview

The jose2go component before version 1.6.0 for Go contains a vulnerability that allows attackers to cause a denial of service through CPU consumption by manipulating the p2c (PBES2 Count) value. This security issue was assigned CVE-2023-50658 and was addressed in version 1.6.0 of the library (GitHub Commit).

Technical details

The vulnerability exists in the PBES2 (Password-Based Encryption Scheme 2) implementation of the jose2go library, specifically affecting the HMAC key management algorithm. The issue stems from the lack of proper validation on the p2c (iteration count) parameter, which could be set to arbitrarily large values. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High), with attack vector being Network, attack complexity Low, and requiring No privileges or user interaction (Ubuntu CVE).

Impact

When exploited, this vulnerability can lead to denial of service conditions through excessive CPU consumption. The attack can be triggered remotely by manipulating the p2c value in PBES2-based JWT tokens, causing the server to perform an excessive number of iterations during the key derivation process (Debian Tracker).

Exploitability

The vulnerability is exploitable remotely without requiring any special privileges or user interaction. An attacker can craft a JWT token with a maliciously large p2c value, which when processed by the affected library, would cause significant CPU resource consumption (FortiGuard).

Mitigation and workarounds

The vulnerability has been fixed in jose2go version 1.6.0 by implementing iteration count limits according to OWASP PBKDF2 recommendations. The fix introduces maximum iteration counts of 1,300,000 for PBES2-HS256+A128KW, 950,000 for PBES2-HS384+A192KW, and 600,000 for PBES2-HS512+A256KW. Users should upgrade to version 1.6.0 or later to receive these security improvements (GitHub Compare).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel
NoYesAug 13, 2026
CVE-2026-73500HIGH8.7
  • etcd logoetcd
  • cert-manager-1.19
NoYesAug 12, 2026
CVE-2026-72817MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • osbuild-composer
NoYesAug 14, 2026
CVE-2026-72816MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • osbuild-composer
NoYesAug 14, 2026
CVE-2026-68450LOW1.9
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management