USN-6643-1: NPM IP vulnerability

Publication date

19 February 2024

Overview

NPM IP could be made to expose sensitive information over the network.


Packages

  • node-ip - IP address utilities for node.js

Details

Emre Durmaz discovered that NPM IP package incorrectly distinguished
between private and public IP addresses. A remote attacker could
possibly use this issue to perform
Server-Side Request Forgery (SSRF) attacks.

Emre Durmaz discovered that NPM IP package incorrectly distinguished
between private and public IP addresses. A remote attacker could
possibly use this issue to perform
Server-Side Request Forgery (SSRF) attacks.

Update instructions

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
23.10 mantic node-ip –  2.0.0+~1.1.0-1ubuntu0.1
22.04 jammy node-ip –  1.1.5+~1.1.0-1ubuntu0.1~esm1  
20.04 focal node-ip –  1.1.5-5ubuntu0.1~esm1  
18.04 bionic node-ip –  1.1.5-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›