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

Exploitability

The vulnerability can be exploited by providing specifically crafted input strings to the DateTime.fromRFC2822() method. The attack is particularly effective with input lengths above 10,000 characters, causing the application to spend excessive time processing the input (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-2026-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 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