Advisory

UBUNTU-CVE-2022-32212

Also known as: CVE-2022-32212

Summary

The record has no summary.

Details

A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.

Severity

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

Dates

Published
2022-07-14 15:15 UTC
Modified
2026-04-22 13:23 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

10.19.0~dfsg-3ubuntu1.3

Fix

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

nodejs

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 12.22.9~dfsg-1ubuntu3.2 (ecosystem)

Fixed versions

12.22.9~dfsg-1ubuntu3.2

Fix

  • Fixed version 12.22.9~dfsg-1ubuntu3.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