The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.0-1ubuntu0.18.04.1", "binary_name": "node-trim-newlines" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.0-1ubuntu0.20.04.1", "binary_name": "node-trim-newlines" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.0.0+~3.0.0-1", "binary_name": "node-trim-newlines" } ] }
{ "ubuntu_priority": "medium" }