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

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-2025-68120MEDIUM5.4
  • NixOSNixOS
  • go
NoYesDec 30, 2025
CVE-2025-69413MEDIUM5.3
  • NixOSNixOS
  • code.gitea.io/gitea
NoYesJan 01, 2026
CVE-2025-15412MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-15411MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-68932LOW2.9
  • NixOSNixOS
  • freshrss
NoYesDec 27, 2025

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