CVE-2023-22467
JavaScript vulnerability analysis and mitigation

Overview

Luxon, a JavaScript library for working with dates and times, was found to contain a vulnerability (CVE-2023-22467) affecting multiple versions: 1.x branch prior to 1.38.1, 2.x branch prior to 2.5.2, and 3.x branch on 3.2.1. The vulnerability was discovered in the DateTime.fromRFC2822() method, which exhibited quadratic (N^2) complexity on specific inputs (GitHub Advisory).

Technical details

The vulnerability stems from inefficient regular expression complexity in the DateTime.fromRFC2822() method. The issue causes noticeable performance degradation when processing inputs with lengths exceeding 10,000 characters. The vulnerability is related to the same issue found in Moment.js as CVE-2022-31129. The CVSS v3.1 base score is 7.5 (High), with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can lead to Regular Expression Denial of Service (ReDoS) attacks. Users who provide untrusted data to the DateTime.fromRFC2822() method are vulnerable to these attacks, which can cause significant performance issues and potential denial of service conditions (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 1.38.1, 2.5.2, and 3.2.1. As a workaround, users are advised to limit the length of input provided to the DateTime.fromRFC2822() method. Organizations should upgrade to the patched versions to ensure protection against this vulnerability (NVD).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 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