CVE-2023-22467
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2023-22467
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2023-01-04T22:15:09
- Last Modified Date
- 2023-01-17T17:17:38
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* | 1 | OR | 1.0.0 | 1.38.1 |
cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* | 1 | OR | 2.0.0 | 2.5.2 |
cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:* | 1 | OR | 3.0.0 | 3.2.1 |
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-22467 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22467 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-01-04 22:17:20 | Added to TrackCVE | |||
2023-01-04 22:17:20 | Weakness Enumeration | new | ||
2023-01-04 23:14:49 | 2023-01-04T22:27:21 | CVE Modified Date | updated | |
2023-01-04 23:14:49 | Received | Awaiting Analysis | Vulnerability Status | updated |
2023-01-09 18:24:20 | Awaiting Analysis | Undergoing Analysis | Vulnerability Status | updated |
2023-01-11 03:18:30 | 2023-01-11T03:09:58 | CVE Modified Date | updated | |
2023-01-11 03:18:31 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |
2023-01-11 03:18:32 | CPE Information | updated | ||
2023-01-17 18:47:05 | 2023-01-17T17:17:38 | CVE Modified Date | updated |