{"api_version":"1","generated_at":"2026-04-23T01:33:44+00:00","cve":"CVE-2023-22467","urls":{"html":"https://cve.report/CVE-2023-22467","api":"https://cve.report/api/cve/CVE-2023-22467.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-22467","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-22467"},"summary":{"title":"CVE-2023-22467","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-01-04 22:15:00","updated_at":"2023-01-17 17:17:00"},"problem_types":["CWE-1333"],"metrics":[],"references":[{"url":"https://github.com/moment/moment/pull/6015#issuecomment-1152961973","name":"https://github.com/moment/moment/pull/6015#issuecomment-1152961973","refsource":"MISC","tags":[],"title":"[bugfix] Fix redos in preprocessRFC2822 regex by vovikhangcdv · Pull Request #6015 · moment/moment · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc","name":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc","refsource":"MISC","tags":[],"title":"Inefficient regular expression complexity in luxon.js · Advisory · moment/luxon · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf","name":"https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf","refsource":"MISC","tags":[],"title":"fix rfc2822 regex · moment/luxon@5ab3bf6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g","name":"https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g","refsource":"MISC","tags":[],"title":"Inefficient Regular Expression Complexity in moment · Advisory · moment/moment · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22467","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22467","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"22467","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"momentjs","cpe5":"luxon","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-22467","qid":"284913","title":"Fedora Security Update for python (FEDORA-2024-1eb20f8ec3)"},{"cve":"CVE-2023-22467","qid":"285001","title":"Fedora Security Update for python (FEDORA-2024-262ad83644)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-22467","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-1333: Inefficient Regular Expression Complexity","cweId":"CWE-1333"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"moment","product":{"product_data":[{"product_name":"luxon","version":{"version_data":[{"version_value":">= 1.0.0, < 1.38.1","version_affected":"="},{"version_value":">= 2.0.0, < 2.5.2","version_affected":"="},{"version_value":">= 3.0.0, < 3.2.1","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/moment/moment/pull/6015#issuecomment-1152961973","refsource":"MISC","name":"https://github.com/moment/moment/pull/6015#issuecomment-1152961973"},{"url":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc","refsource":"MISC","name":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc"},{"url":"https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g","refsource":"MISC","name":"https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g"},{"url":"https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf","refsource":"MISC","name":"https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf"}]},"source":{"advisory":"GHSA-3xq5-wjfh-ppjc","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-01-04 22:15:00","lastModifiedDate":"2023-01-17 17:17:00","problem_types":["CWE-1333"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:*","versionStartIncluding":"1.0.0","versionEndExcluding":"1.28.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.2.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:momentjs:luxon:*:*:*:*:*:node.js:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.5.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}