cve.bz

CVE-2023-22467 momentjs luxon

7.5 highEPSS 1.9%Fix available

High (7.5) in momentjs luxon. EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in luxon 1.28.1, 2.5.2, 3.2.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-22467 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-22467?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-22467?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-22467 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
momentjs:luxonfrom 1.0.0 before 1.28.1
momentjs:luxonfrom 2.0.0 before 2.5.2
momentjs:luxonfrom 3.0.0 before 3.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3xq5-wjfh-ppjcnpmluxon>=1.0.0 <1.28.11.28.1
GHSA-3xq5-wjfh-ppjcnpmluxon>=2.0.0 <2.5.22.5.2
GHSA-3xq5-wjfh-ppjcnpmluxon>=3.0.0 <3.2.13.2.1

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel8Affected
Red Hat Ansible Automation Platform 1.2ansible-towerAffected
Red Hat Ansible Automation Platform 2automation-controllerAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-22467.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON