{"cve":"CVE-2023-22467","nvd":{"published":"2023-01-04T22:15:09.357","modified":"2026-06-17T05:35:31.100","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf","https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc","https://github.com/moment/moment/pull/6015#issuecomment-1152961973","https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ/"],"products":["momentjs:luxon"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2023-22467","score":0.01785,"percentile":0.78314,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-3xq5-wjfh-ppjc","url":"https://osv.dev/vulnerability/GHSA-3xq5-wjfh-ppjc","summary":"Luxon Inefficient Regular Expression Complexity vulnerability","modified":"2026-02-04T04:08:25.579357Z","packages":[{"ecosystem":"npm","name":"luxon","purl":"pkg:npm/luxon","ranges":[">=1.0.0 <1.28.1"],"fixed":["1.28.1"]},{"ecosystem":"npm","name":"luxon","purl":"pkg:npm/luxon","ranges":[">=2.0.0 <2.5.2"],"fixed":["2.5.2"]},{"ecosystem":"npm","name":"luxon","purl":"pkg:npm/luxon","ranges":[">=3.0.0 <3.2.1"],"fixed":["3.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}