CVE-2023-49290
NixOS vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2023-49290) affects lestrrat-go/jwx, a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT) technologies. The issue was discovered in December 2023 and involves a potential denial of service vulnerability when a p2c parameter is set too high in JWE's algorithm PBES2-*. The vulnerability affects versions up to 1.2.27 and versions from 2.0.0 up to 2.0.18 (GitHub Advisory, NVD).

Technical details

The vulnerability stems from the JWE key management algorithms based on PBKDF2, which require a JOSE Header Parameter called p2c (PBES2 Count). This parameter controls the number of PBKDF2 iterations needed to derive a CEK wrapping key. While its primary purpose is to intentionally slow down key derivation for security purposes, setting this parameter to an extremely large value can cause excessive computational consumption. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (GitHub Advisory).

Impact

The vulnerability can lead to a denial of service (DoS) attack by causing excessive CPU resource consumption. When exploited, it can significantly impact system availability by forcing the system to perform resource-intensive computations (GitHub Advisory).

Exploitability

The vulnerability can be exploited by an attacker by setting the p2c parameter in JWE to a very large number, which causes excessive computational consumption. The attack requires no special privileges or user interaction, and can be executed remotely (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been addressed in commit 64f2a229b and included in release versions 1.2.27 and 2.0.18. Users are strongly advised to upgrade to these patched versions. There are no known workarounds for this vulnerability (NVD).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-72898CRITICAL10
  • NixOS logoNixOS
  • metabase
YesYesAug 10, 2026
CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-sqlite-debuginfo
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-odbc
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-mysql
NoYesAug 06, 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