CVE-2025-25283CWE-1333

parse-duraton vulnerable to Regex Denial of Service that results in event loop delay and out of memory

High · published February 12, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
55.3
In the wild
Unconfirmed
What it is

parse-duraton is software that allows users to convert a human readable duration to milliseconds. Versions prior to 2.1.3 are vulnerable to an event loop delay due to the CPU-bound operation of resolving the provided string, from a 0.5ms and up to ~50ms per one operation, with a varying size from 0.01 MB and up to 4.3 MB respectively, and an out of memory that would crash a running Node.js application due to a string size of roughly 10 MB that utilizes unicode characters. Version 2.1.3 contains a patch.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00774 · 55.3th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2025-02-12T18:21Z
EPSS history
Timeline
  • 12 FEB 18:21Z
    parse-duraton vulnerable to Regex Denial of Service that results in event loop delay and out of memory
    cvelistv5