Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Zod | jsVideoUrlParser | 0.5.0, 0.5.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | js-video-url-parser | <= 0.5.1 | — | GHSA-8fgx-wgvr-pcx8 |
References
- VDB-356540 | Zod jsVideoUrlParser util.js getTime redos vdb-entry technical-description
- VDB-356540 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #791911 | Zod- jsVideoUrlParser 0.1.3 to 0.5.1 Inefficient Regular Expression Complexity third-party-advisory
- https://github.com/Zod-/jsVideoUrlParser/issues/121 issue-tracking
- https://github.com/Zod-/jsVideoUrlParser/issues/121#issue-4159661957 exploit issue-tracking