Advisory

GHSA-xx4c-jj58-r7x6

Also known as: None

Summary

Inefficient Regular Expression Complexity in Validator.js

Details

Impact
Versions of validator prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the rtrim and trim sanitizers.

Patches
The problem has been patched in validator 13.7.0

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-11-19 20:14 UTC
Modified
2022-07-12 00:11 UTC

Affected packages and fixes

validator

npm · All systems

Affected

  • introduced 11.1.0, fixed 13.7.0 (semver)

Fixed versions

13.7.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences