Read the docs
TI-2023-08716 Aliases CVE-2023-22467GHSA-3xq5-wjfh-ppjc

luxon.js inefficient regular expression complexity vulnerability

Priority LOW 37CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

Luxon is a library for working with dates and times in JavaScript. On the 1.x branch prior to 1.38.1, the 2.x branch prior to 2.5.2, and the 3.x branch on 3.2.1, Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks. This issue also appears in Moment as CVE-2022-31129. Versions 1.38.1, 2.5.2, and 3.2.1 contain patches for this issue. As a workaround, limit the length of the input.

Why it matters now

EPSS 0.01852 79th percentileScored 2026-11-07
Fix Partial luxon (moment): 1.38.1, 2.5.2, 3.2.1luxon (npm): 1.28.1, 2.5.2, 3.2.1Red Hat: 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
momentluxon1.0.0 to before 1.38.1; 2.0.0 to before 2.5.2; 3.0.0 to before 3.2.11.38.1, 2.5.2, 3.2.1Patch availableCNA
—luxon (npm)1.0.0 to before 1.28.11.28.1Patch availableGHSA-3xq5-wjfh-ppjc
—luxon (npm)2.0.0 to before 2.5.22.5.2Patch availableGHSA-3xq5-wjfh-ppjc
—luxon (npm)3.0.0 to before 3.2.13.2.1Patch availableGHSA-3xq5-wjfh-ppjc
  • luxon Vendormoment Affected 1.0.0 to before 1.38.1; 2.0.0 to before 2.5.2; 3.0.0 to before 3.2.1 Fixed in 1.38.1, 2.5.2, 3.2.1 Patch available CNA
  • luxon (npm) Vendor— Affected 1.0.0 to before 1.28.1 Fixed in 1.28.1 Patch available GHSA-3xq5-wjfh-ppjc
  • luxon (npm) Vendor— Affected 2.0.0 to before 2.5.2 Fixed in 2.5.2 Patch available GHSA-3xq5-wjfh-ppjc
  • luxon (npm) Vendor— Affected 3.0.0 to before 3.2.1 Fixed in 3.2.1 Patch available GHSA-3xq5-wjfh-ppjc

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:*1.0.0 to before 1.28.1; 2.0.0 to before 2.5.2; 3.0.0 to before 3.2.1Vulnerablemoment
  • cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* Versions 1.0.0 to before 1.28.1; 2.0.0 to before 2.5.2; 3.0.0 to before 3.2.1 Vulnerable ·moment

Remediation

  • Fix · CNA luxon (moment) Fixed in 1.38.1, 2.5.2, 3.2.1
  • Fix · GHSA-3xq5-wjfh-ppjc luxon (npm) Fixed in 1.28.1 Advisory →
  • Fix · GHSA-3xq5-wjfh-ppjc luxon (npm) Fixed in 2.5.2 Advisory →
  • Fix · GHSA-3xq5-wjfh-ppjc luxon (npm) Fixed in 3.2.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat Ansible Automation Platform 1.2AffectedNo fix yet
Red Hat Ansible Automation Platform 2AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-22467
  2. 2026-10-03 Alias added: GHSA-3xq5-wjfh-ppjc

References

Sources