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 :
Feb. 12, 2024, 4:15 a.m.
Source :
[email protected]
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.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-22467
.
URL | Resource |
---|---|
https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf | Patch Third Party Advisory |
https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc | Third Party Advisory |
https://github.com/moment/moment/pull/6015#issuecomment-1152961973 | Patch Third Party Advisory |
https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g | Not Applicable Third Party Advisory |
https://lists.fedoraproject.org/archives/list/[email protected]/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ/ | |
https://lists.fedoraproject.org/archives/list/[email protected]/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR/ |
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
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 [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
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.27 }} 0.01%
score
0.68370
percentile