CVE-2023-22467
Published Jan 4, 2023
Last updated 9 months ago
Overview
- 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.
- Source
- security-advisories@github.com
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity
- HIGH
Weaknesses
- security-advisories@github.com
- CWE-1333
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "D11AA49A-C83C-4BE7-8F35-A0B653A4600C", "versionEndExcluding": "1.28.1", "versionStartIncluding": "1.0.0" }, { "criteria": "cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "E5B6E3EF-4FF5-4BD3-9DE6-D81C49DB16AB", "versionEndExcluding": "2.5.2", "versionStartIncluding": "2.0.0" }, { "criteria": "cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:*", "vulnerable": true, "matchCriteriaId": "D29FCF30-14B9-4943-9164-E395080794BE", "versionEndExcluding": "3.2.1", "versionStartIncluding": "3.0.0" } ], "operator": "OR" } ] } ]