Debian DLA-2654-1 : composer security update

high Nessus Plugin ID 149426

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that composer, a dependency manager for PHP, did not properly sanitize Mercurial URLs, which could lead to arbitrary code execution.

For Debian 9 stretch, this problem has been fixed in version 1.2.2-1+deb9u1.

We recommend that you upgrade your composer packages.

For the detailed security status of composer please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/composer

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected composer package.

See Also

https://lists.debian.org/debian-lts-announce/2021/05/msg00009.html

https://packages.debian.org/source/stretch/composer

https://security-tracker.debian.org/tracker/source-package/composer

Plugin Details

Severity: High

ID: 149426

File Name: debian_DLA-2654.nasl

Version: 1.4

Type: local

Agent: unix

Published: 5/12/2021

Updated: 1/12/2024

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: Medium

Base Score: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2021-29472

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:composer, cpe:/o:debian:debian_linux:9.0

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: 5/11/2021

Vulnerability Publication Date: 4/27/2021

Reference Information

CVE: CVE-2021-29472