CVE-2021-23425

medium

Description

All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.

References

https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850

https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197

https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6

Details

Source: Mitre, NVD

Published: 2021-08-18

Updated: 2022-01-18

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Severity: Medium