Advisory

UBUNTU-CVE-2021-22884

Also known as: CVE-2021-22884

Summary

The record has no summary.

Details

Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”. When “localhost6” is not present in /etc/hosts, it is just an ordinary domain that is resolved via DNS, i.e., over network. If the attacker controls the victim's DNS server or can spoof its responses, the DNS rebinding protection can be bypassed by using the “localhost6” domain. As long as the attacker uses the “localhost6” domain, they can still apply the attack described in CVE-2018-7160.

Severity

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

Dates

Published
2021-03-03 18:15 UTC
Modified
2026-04-22 12:48 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 10.19.0~dfsg-3ubuntu1.2 (ecosystem)

Fixed versions

10.19.0~dfsg-3ubuntu1.2

Fix

  • Fixed version 10.19.0~dfsg-3ubuntu1.2
    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.

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