Description
A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | diff | < 3.5.0 | 3.5.0 | GHSA-h6ch-v84p-w6p9 |
References
- https://github.com/kpdecker/jsdiff/commit/2aec4298639bf30fb88a00b356bf404d3551b8c0 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1552148 web
- https://snyk.io/vuln/npm:diff:20180305 web
- https://www.npmjs.com/advisories/1631 web
- https://www.whitesourcesoftware.com/vulnerability-database/WS-2018-0590 web