### [CVE-2021-23425](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23425) ![](https://img.shields.io/static/v1?label=Product&message=trim-off-newlines&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Regular%20Expression%20Denial%20of%20Service%20(ReDoS)&color=brighgreen) ### Description All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing. ### POC #### Reference - https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197 - https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850 #### Github - https://github.com/engn33r/awesome-redos-security