Debian dla-3838 : composer - security update

high Nessus Plugin ID 200768

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-3838 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3838-1 [email protected] https://www.debian.org/lts/security/ Chris Lamb June 19, 2024 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : composer Version : 1.8.4-1+deb10u4 CVE IDs : CVE-2024-35241 CVE-2024-35242 Debian Bugs : 1073125 1073126

It was discovered that there were a number of command-line injection vulnerabilities in Composer, a popular dependency manager for PHP.

The 'install', 'status', 'reinstall' and 'remove' functionality had issues when used with Git or Hg repositories which used maliciously- crafted branch names, which could have been abused to execute arbitrary shell commands.

For Debian 10 buster, this problem has been fixed in version 1.8.4-1+deb10u4.

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

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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 composer packages.

See Also

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

https://security-tracker.debian.org/tracker/CVE-2024-35241

https://security-tracker.debian.org/tracker/CVE-2024-35242

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

Plugin Details

Severity: High

ID: 200768

File Name: debian_DLA-3838.nasl

Version: 1.2

Type: local

Agent: unix

Published: 6/20/2024

Updated: 8/7/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: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-35242

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/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: 6/19/2024

Vulnerability Publication Date: 6/10/2024

Reference Information

CVE: CVE-2024-35241, CVE-2024-35242