CVE-2021-23425
JSON

5.3medium

Regular Expression Denial of Service (ReDoS)

Severity
5.3medium CVSS:3.1 by snyk
Exploit likelihood
1.93% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-38fc-wpqx-33j7

Description

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

Affected

Product or packageVersionsReported by
trim-off-newlinesbefore unspecifiedCVE List
trim-off-newlines (npm)before 1.0.3GitHub Advisory Database
trim-off-newlines_project trim-off-newlinesbefore 1.0.3NVD

All scores

snyk5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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

NVD (es)

Todas las versiones del paquete trim-off-newlines son vulnerables a una Denegación de Servicio por Expresión Regular (ReDoS) por medio de procesamiento de cadenas.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-23425 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-38fc-wpqx-33j7 changed 2025-01-14CC-BY-4.0
NVDCVE-2021-23425 changed 2026-06-17Public domain