Security mailing lists by PureSourceCode

GHSA-xx4c-jj58-r7x6

MEDIUM 5.3CVSS 3.0

Inefficient Regular Expression Complexity in Validator.js

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

Published
19 Nov 2021
Last modified
12 Jul 2022
Weakness
CWE-1333
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm validator >= 11.1.0, < 13.7.0 13.7.0

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.