#VU72033 Incorrect Regular Expression in Luxon - CVE-2023-22467

 

#VU72033 Incorrect Regular Expression in Luxon - CVE-2023-22467

Published: February 7, 2023


Vulnerability identifier: #VU72033
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-22467
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Luxon
Software vendor:
Moment.js

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to an incorrect regular expression when parsing untrusted input within the Luxon's DateTime.fromRFC2822() function. A remote attacker can causes a noticeable slowdown for inputs with lengths above 10k characters.

Note, this is the same vulnerability as #VU65835 (CVE-2022-31129) reported earlier for moment.js.


Remediation

Install updates from vendor's website.

External links