Debian DSA-4907-1 : composer - security update

high Nessus Plugin ID 149219

Synopsis

The remote Debian host is missing a security-related 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.

Solution

Upgrade the composer packages.

For the stable distribution (buster), this problem has been fixed in version 1.8.4-1+deb10u1.

See Also

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

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

https://www.debian.org/security/2021/dsa-4907

Plugin Details

Severity: High

ID: 149219

File Name: debian_DSA-4907.nasl

Version: 1.5

Type: local

Agent: unix

Published: 5/3/2021

Updated: 1/12/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, 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: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:composer

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: 4/29/2021

Vulnerability Publication Date: 4/27/2021

Reference Information

CVE: CVE-2021-29472

DSA: 4907