Debian DLA-3336-1 : node-url-parse - LTS security update

critical Nessus Plugin ID 171837

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-3336 advisory.

- url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path. (CVE-2021-27515)

- url-parse is vulnerable to URL Redirection to Untrusted Site (CVE-2021-3664)

- Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6. (CVE-2022-0512)

- Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7. (CVE-2022-0639)

- Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.8. (CVE-2022-0686)

- Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.9. (CVE-2022-0691)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the node-url-parse packages.

For Debian 10 buster, these problems have been fixed in version 1.2.0-2+deb10u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985110

http://www.nessus.org/u?082d3b19

https://www.debian.org/lts/security/2023/dla-3336

https://security-tracker.debian.org/tracker/CVE-2021-27515

https://security-tracker.debian.org/tracker/CVE-2021-3664

https://security-tracker.debian.org/tracker/CVE-2022-0512

https://security-tracker.debian.org/tracker/CVE-2022-0639

https://security-tracker.debian.org/tracker/CVE-2022-0686

https://security-tracker.debian.org/tracker/CVE-2022-0691

https://packages.debian.org/source/buster/node-url-parse

Plugin Details

Severity: Critical

ID: 171837

File Name: debian_DLA-3336.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/23/2023

Updated: 9/1/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-0691

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:node-url-parse

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/23/2023

Vulnerability Publication Date: 2/22/2021

Reference Information

CVE: CVE-2021-27515, CVE-2021-3664, CVE-2022-0512, CVE-2022-0639, CVE-2022-0686, CVE-2022-0691