Debian Security Advisory

DSA-5213-1 schroot -- security update

Date Reported:
18 Aug 2022
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2022-2787.
More information:

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 for instructions on how to resolve such a situation.

For the stable distribution (bullseye), this problem has been fixed in version 1.6.10-12+deb11u1.

We recommend that you upgrade your schroot packages.

For the detailed security status of schroot please refer to its security tracker page at: