Advisory

UBUNTU-CVE-2021-33623

Also known as: CVE-2021-33623

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2021-05-28 18:15 UTC
Modified
2026-10-17 12:56 UTC

Affected packages and fixes

node-trim-newlines

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.0.0-1ubuntu0.18.04.1 (ecosystem)

Fixed versions

1.0.0-1ubuntu0.18.04.1

Fix

  • Fixed version 1.0.0-1ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-trim-newlines

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.0.0-1ubuntu0.20.04.1 (ecosystem)

Fixed versions

1.0.0-1ubuntu0.20.04.1

Fix

  • Fixed version 1.0.0-1ubuntu0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-trim-newlines

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

node-trim-newlines

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

node-trim-newlines

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

node-trim-newlines

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences