VDB
Sign up
MEDIUM5.3

GHSA-8fgx-wgvr-pcx8

Zod jsVideoUrlParser vulnerable to ReDoS in util.js

Details

A weakness has been identified in Zod jsVideoUrlParser up to 0.5.1. The impacted element is the function getTime in the library lib/util.js. This manipulation of the argument timestamp causes inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/js-video-url-parser
Introduced in: 0

No fixed version published yet for js-video-url-parser (npm). Pin to a known-safe version or switch to an alternative.

References