7.5
HIGH
CVE-2023-22467
Luxon DateTime fromRFC2822 Quadratic Complexity DoS
Description

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.

INFO

Published Date :

Jan. 4, 2023, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 7:44 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-22467 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-22467 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Momentjs luxon

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A centralized repository of standalone security patches for open source libraries.

appsec backport cve devsecops fix hotfix open-source patch protection remediation seal security update upgrade vulnerability

Updated: 5 months, 3 weeks ago
182 stars 0 fork 0 watcher
Born at : July 30, 2023, 4:46 p.m. This repo has been linked 265 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-22467 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-22467 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf
    Added Reference https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc
    Added Reference https://github.com/moment/moment/pull/6015#issuecomment-1152961973
    Added Reference https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 12, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ/ [No types assigned]
  • CVE Modified by [email protected]

    Feb. 12, 2024

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR/ [No types assigned]
  • Reanalysis by [email protected]

    Jan. 17, 2023

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 1.0.0 up to (excluding) 1.38.1 *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 2.5.2 *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 3.0.0 up to (excluding) 3.2.1 OR *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 1.0.0 up to (excluding) 1.28.1 *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 2.5.2 *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 3.0.0 up to (excluding) 3.2.1
  • Initial Analysis by [email protected]

    Jan. 11, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf No Types Assigned https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf Patch, Third Party Advisory
    Changed Reference Type https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc No Types Assigned https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc Third Party Advisory
    Changed Reference Type https://github.com/moment/moment/pull/6015#issuecomment-1152961973 No Types Assigned https://github.com/moment/moment/pull/6015#issuecomment-1152961973 Patch, Third Party Advisory
    Changed Reference Type https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g No Types Assigned https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g Not Applicable, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 1.0.0 up to (excluding) 1.38.1 *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 2.5.2 *cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* versions from (including) 3.0.0 up to (excluding) 3.2.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-22467 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-22467 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.29 }} 0.02%

score

0.68358

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability