Ubuntu 6376 Published by

A trim-newlines security update has been released for Ubuntu Linux 18.04 LTS and 20.04 LTS.

Ubuntu Security Notice USN-5999-1
April 05, 2023

node-trim-newlines vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS


A security issue was fixed in trim-newlines.

Software Description:
- node-trim-newlines: Trim newlines from the start and/or end of a string


It was discovered that trim-newlines incorrectly handled certain inputs. If a
user or an automated system were tricked into opening a specially crafted
input file, a remote attacker could possibly use this issue to cause a
denial of service. (CVE-2021-33623)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.04 LTS:
node-trim-newlines 1.0.0-1ubuntu0.20.04.1

Ubuntu 18.04 LTS:
node-trim-newlines 1.0.0-1ubuntu0.18.04.1

In general, a standard system update will make all the necessary changes.


Package Information: