Debian dla-3075 : schroot - security update

medium Nessus Plugin ID 164285

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3075 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3075-1 [email protected] https://www.debian.org/lts/security/ Salvatore Bonaccorso August 18, 2022 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : schroot Version : 1.6.10-6+deb10u1 CVE ID : CVE-2022-2787

Julian Gilbey discovered that schroot, a tool allowing users to execute commands in a chroot environment, had too permissive rules on chroot or session names, allowing a denial of service on the schroot service for all users that may start a schroot session.

Note that existing chroots and sessions are checked during upgrade, and an upgrade is aborted if any future invalid name is detected.

Problematic session and chroots can be checked before upgrading with the following command:

schroot --list --all | LC_ALL=C grep -vE '^[a-z]+:[a-zA-Z0-9][a-zA-Z0-9_.-]*$'

See

<https://codeberg.org/shelter/reschroot/src/tag/release/reschroot-1.6.13/NEWS#L10-L41>

for instructions on how to resolve such a situation.

For Debian 10 buster, this problem has been fixed in version 1.6.10-6+deb10u1.

We recommend that you upgrade your schroot packages.

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

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 this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the schroot packages.

See Also

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

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

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

Plugin Details

Severity: Medium

ID: 164285

File Name: debian_DLA-3075.nasl

Version: 1.6

Type: local

Agent: unix

Published: 8/18/2022

Updated: 1/22/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2022-2787

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:schroot, p-cpe:/a:debian:debian_linux:schroot-common

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/18/2022

Vulnerability Publication Date: 8/18/2022

Reference Information

CVE: CVE-2022-2787