{"id":"CVE-2023-22467","aliases":["CLSA-2026-1783731811","GHSA-3xq5-wjfh-ppjc"],"summary":"luxon.js inefficient regular expression complexity vulnerability","published_at":"2023-01-04T00:00:00Z","modified_at":"2026-10-15T09:48:03.794511Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.018519999459385872,"percentile":0.7959399819374084,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"details":"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.","affected_stack":[{"ecosystem":"Red Hat:ansible_automation_platform","package":"ansible-tower","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22467","relation":"self"},{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"automation-controller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22467","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"moment/luxon","versions":[">= 1.0.0, < 1.38.1",">= 2.0.0, < 2.5.2",">= 3.0.0, < 3.2.1"],"provider":"cvelistv5","source":"CVE-2023-22467","relation":"self"},{"ecosystem":"NVD","package":"momentjs:luxon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.28.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.5.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.1"}]}],"fixed":["1.28.1","2.5.2","3.2.1"],"provider":"nvd","source":"CVE-2023-22467","relation":"self"},{"ecosystem":"TuxCare:npm","package":"dompurify","purl":"pkg:npm/dompurify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-tuxcare.1"}]}],"fixed":["2.3.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786539981","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0-tuxcare.0"},{"fixed":"2.3.0-tuxcare.1"}]}],"versions":["2.3.0"],"fixed":["2.3.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1783731811","relation":"self"},{"ecosystem":"npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.2.1"}]}],"fixed":["3.2.1"],"provider":"osv","source":"GHSA-3xq5-wjfh-ppjc","relation":"self"},{"ecosystem":"npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.5.2"}]}],"fixed":["2.5.2"],"provider":"osv","source":"GHSA-3xq5-wjfh-ppjc","relation":"self"},{"ecosystem":"npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.28.1"}]}],"fixed":["1.28.1"],"provider":"osv","source":"GHSA-3xq5-wjfh-ppjc","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22467"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 1.2","cpe":"cpe:/a:redhat:ansible_automation_platform","status":"affected","packages":["ansible-tower"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22467"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["automation-controller"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22467"}],"records":[{"provider":"osv","source_id":"CLSA-2026-1786539981","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1786539981","published_at":"2026-08-12T13:06:21Z","modified_at":"2026-10-26T13:21:31Z","withdrawn_at":"2026-10-15T17:45:50Z","summary":"TuxCare security update for dompurify (10 CVEs)","details":"TuxCare rebuilt dompurify to address 10 CVEs. Fixed in 2.3.0-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"dompurify","purl":"pkg:npm/dompurify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-tuxcare.1"}]}],"fixed":["2.3.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786539981","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2023-22467","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-22467","license":"CC-BY-4.0","published_at":"2023-01-04T21:52:14.329Z","modified_at":"2025-02-13T16:43:52.699Z","summary":"luxon.js inefficient regular expression complexity vulnerability","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2023-22467"}],"affected":[{"ecosystem":"CVE","package":"moment/luxon","versions":[">= 1.0.0, < 1.38.1",">= 2.0.0, < 2.5.2",">= 3.0.0, < 3.2.1"],"provider":"cvelistv5","source":"CVE-2023-22467","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc"},{"type":"WEB","url":"https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g"},{"type":"WEB","url":"https://github.com/moment/moment/pull/6015#issuecomment-1152961973"},{"type":"WEB","url":"https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ/"}]},{"provider":"nvd","source_id":"CVE-2023-22467","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22467","severity":[],"affected":[{"ecosystem":"NVD","package":"momentjs:luxon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.28.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.5.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.1"}]}],"fixed":["1.28.1","2.5.2","3.2.1"],"provider":"nvd","source":"CVE-2023-22467","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1783731811","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1783731811","published_at":"2026-08-04T14:52:43Z","modified_at":"2026-10-15T09:48:03.794511Z","summary":"TuxCare security update for luxon (1 CVE)","details":"TuxCare rebuilt luxon to address 1 CVE. Fixed in 2.3.0-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0-tuxcare.0"},{"fixed":"2.3.0-tuxcare.1"}]}],"versions":["2.3.0"],"fixed":["2.3.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1783731811","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-3xq5-wjfh-ppjc","relation":"self","url":"https://osv.dev/vulnerability/GHSA-3xq5-wjfh-ppjc","license":"CC-BY-4.0","published_at":"2023-01-09T14:10:49Z","modified_at":"2026-02-04T04:08:25.579357Z","summary":"Luxon Inefficient Regular Expression Complexity vulnerability","details":"# Impact\nLuxon'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.\n\nThis is the same bug as Moment's https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g\n\n# Workarounds\nLimit the length of the input.\n\n# References\nThere is an excellent writeup of the same issue in Moment: https://github.com/moment/moment/pull/6015#issuecomment-1152961973\n\n# Details\n`DateTime.fromRFC2822(\"(\".repeat(500000))` takes a couple minutes to complete.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-3xq5-wjfh-ppjc"}],"affected":[{"ecosystem":"npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.2.1"}]}],"fixed":["3.2.1"],"provider":"osv","source":"GHSA-3xq5-wjfh-ppjc","relation":"self"},{"ecosystem":"npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.5.2"}]}],"fixed":["2.5.2"],"provider":"osv","source":"GHSA-3xq5-wjfh-ppjc","relation":"self"},{"ecosystem":"npm","package":"luxon","purl":"pkg:npm/luxon","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.28.1"}]}],"fixed":["1.28.1"],"provider":"osv","source":"GHSA-3xq5-wjfh-ppjc","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc"},{"type":"WEB","url":"https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22467"},{"type":"WEB","url":"https://github.com/moment/moment/pull/6015#issuecomment-1152961973"},{"type":"WEB","url":"https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf"},{"type":"PACKAGE","url":"https://github.com/moment/luxon"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR"}]},{"provider":"redhat-vex","source_id":"CVE-2023-22467","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-22467","license":"CC-BY-4.0","published_at":"2023-01-04T00:00:00Z","modified_at":"2023-05-02T16:39:05Z","summary":"luxon: Inefficient regular expression complexity in luxon.js","details":"A flaw was found in the luxon package, resulting in a regular expression denial of service. This issue could allow an attacker to craft and supply inputs above 10k characters, causing a denial of service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2023-22467"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-22467"}],"affected":[{"ecosystem":"Red Hat:ansible_automation_platform","package":"ansible-tower","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22467","relation":"self"},{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"automation-controller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22467","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22467"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 1.2","cpe":"cpe:/a:redhat:ansible_automation_platform","status":"affected","packages":["ansible-tower"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22467"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["automation-controller"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22467"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-22467.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-22467"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2159959"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-22467"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22467"},{"type":"WEB","url":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc"}]}],"references":[{"type":"WEB","url":"https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc"},{"type":"WEB","url":"https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g"},{"type":"WEB","url":"https://github.com/moment/moment/pull/6015#issuecomment-1152961973"},{"type":"WEB","url":"https://github.com/moment/luxon/commit/5ab3bf64a10da929a437629cdb2f059bb83212bf"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22467"},{"type":"PACKAGE","url":"https://github.com/moment/luxon"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/44I3WAJKYXDLOVYRGMHAUXMIV4SPFXDZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LIVOASKBQH7FEUI5RWM3SOHR6VK7ZZR"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-22467.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-22467"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2159959"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-22467"}],"sources":[{"provider":"osv","source_id":"CLSA-2026-1786539981","url":"https://osv.dev/vulnerability/CLSA-2026-1786539981","modified_at":"2026-10-26T13:21:31Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-22467","url":"https://www.cve.org/CVERecord?id=CVE-2023-22467","license":"CC-BY-4.0","modified_at":"2025-02-13T16:43:52.699Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-22467","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22467","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1783731811","url":"https://osv.dev/vulnerability/CLSA-2026-1783731811","modified_at":"2026-10-15T09:48:03.794511Z","relation":"self"},{"provider":"osv","source_id":"GHSA-3xq5-wjfh-ppjc","url":"https://osv.dev/vulnerability/GHSA-3xq5-wjfh-ppjc","license":"CC-BY-4.0","modified_at":"2026-02-04T04:08:25.579357Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-22467","url":"https://access.redhat.com/security/cve/CVE-2023-22467","license":"CC-BY-4.0","modified_at":"2023-05-02T16:39:05Z","relation":"self"}]}
