Advisory

DEBIAN-CVE-2018-7158

Also known as: CVE-2018-7158

Summary

The record has no summary.

Details

The 'path' module in the Node.js 4.x release line contains a potential regular expression denial of service (ReDoS) vector. The code in question was replaced in Node.js 6.x and later so this vulnerability only impacts all versions of Node.js 4.x. The regular expression, splitPathRe, used within the 'path' module for the various path parsing functions, including path.dirname(), path.extname() and path.parse() was structured in such a way as to allow an attacker to craft a string, that when passed through one of these functions, could take a significant amount of time to evaluate, potentially leading to a full denial of service.

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
2018-05-17 14:29 UTC
Modified
2026-10-09 09:47 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 6.0.0~dfsg-1 (ecosystem)

Fixed versions

6.0.0~dfsg-1

Fix

  • Fixed version 6.0.0~dfsg-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.

nodejs

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 6.0.0~dfsg-1 (ecosystem)

Fixed versions

6.0.0~dfsg-1

Fix

  • Fixed version 6.0.0~dfsg-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.

nodejs

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 6.0.0~dfsg-1 (ecosystem)

Fixed versions

6.0.0~dfsg-1

Fix

  • Fixed version 6.0.0~dfsg-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.

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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences