Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Vulnerabilities

Advisory Analysis

Ubuntu Advisory USN-9387-1 Patches node-xml2js Prototype Pollution Flaw

According to Ubuntu's USN-9387-1 advisory, a flaw in the node-xml2js package used by Node.js applications can let crafted XML input alter application behavior. Ubuntu recommends applying the updated package promptly.

Vulnerabilities

Key points

  • Ubuntu advisory USN-9387-1 covers a node-xml2js flaw caused by mishandled element and attribute names, leading to prototype pollution.
  • Crafted input could alter application behavior, possibly causing denial of service; the full impact is not detailed.
  • No user interaction is needed, and the flaw is not confirmed as exploited in the wild.
  • Several Ubuntu releases list vulnerable node-xml2js builds; the advisory's remedy is to apply the update.

Ubuntu has published advisory USN-9387-1 covering a vulnerability in node-xml2js, a package that converts XML data into JavaScript objects in Node.js environments. According to the advisory, the flaw stems from incorrect handling of element and attribute names during XML parsing, which leads to prototype pollution.

An attacker could send specially crafted input to alter application behavior. The advisory says this could disrupt application functionality, with denial of service as a possible outcome, though the specific impact is not fully detailed. Exploitation does not require user interaction. The vulnerability is not confirmed to be actively exploited in the wild, and no proof-of-concept code is known.

The advisory lists vulnerable builds of node-xml2js for several Ubuntu releases, including 0.4.23+~cs15.4.0+dfsg-2ubuntu0.1~esm1, 0.2.8-1ubuntu0.20.04.1~esm1, 0.2.8-1ubuntu0.18.04.1~esm1 and 0.2.8-1ubuntu0.16.04.1~esm1. The fix is to install the updated package from Ubuntu repositories. The advisory does not name a specific fixed version or any workaround beyond updating.

Ubuntu Pro provides extended security support for more than 25,000 packages across the Main and Universe repositories, and is available at no cost for up to five devices. Full details are in the original USN-9387-1 advisory on Ubuntu's security notices site.

What to do

  1. Check whether node-xml2js is installed on Ubuntu systems, especially those running Node.js applications.
  2. Install the updated node-xml2js package from Ubuntu repositories as described in USN-9387-1.
  3. Apply the update promptly, as the advisory recommends.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-9387-1: xml2js vulnerability”

It was discovered that xml2js incorrectly handled certain element and attribute names when parsing XML documents, leading to prototype pollution. An attacker could possibly use this issue to modify the behavior of applications using xml2js, resulting in a denial of service, or another unspecified impact.