Cloudanix VulnDB

CVE-2022-2787

Medium · 4.3

CVSS

4.3

EPSS

1.0%

Published

Aug 27, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in a tool used to run programs inside isolated copies of the system lets attackers stop that tool from working for anyone else.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Overly permissive validation of chroot and session names allows crafted inputs to trigger a denial of service condition against the schroot daemon, preventing session creation for all users.

Why it matters to the business

Users and automated processes lose the ability to launch isolated chroot sessions, causing operational disruption for any workflows that depend on schroot-managed environments.

How an attack unfolds

An attacker supplies a specially formed chroot or session name through the normal schroot client interface; the permissive name rules allow the request to reach the service, which then enters a failure state that blocks subsequent legitimate sessions.

How to fix it

Upgrade schroot to version 1.6.13 or later; restart the schroot service after installation.

How to confirm the fix worked

Confirm the installed schroot package reports version 1.6.13 or newer; attempt a normal session start to verify service responsiveness.

Typical attack path

  1. Locate a system running a vulnerable schroot version
  2. Issue a schroot command containing a crafted session or chroot name
  3. Observe the resulting denial-of-service state that prevents other users from starting sessions

How to detect it

Inspect schroot service logs and syslog for repeated session-creation failures or unusual name patterns around the time of reported outages.

What your security team should do

  • Apply the 1.6.13 update across all affected hosts immediately
  • Add schroot version checks to patch-management and vulnerability-scanning processes
  • Review logs for repeated session-creation failures that may indicate prior exploitation attempts

The record

Schroot before 1.6.13 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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 schroot 0 1.6.10-6+deb10u1
Debian:11 schroot 0 1.6.10-12+deb11u1
Debian:12 schroot 0 1.6.12-2
Debian:13 schroot 0 1.6.12-2
Mageia:8 schroot 0 1.7.2-18.1.mga8
Ubuntu:18.04:LTS schroot 0 1.6.10-4ubuntu0.1
Ubuntu:20.04:LTS schroot 0 1.6.10-9ubuntu0.1
Ubuntu:22.04:LTS schroot 0 1.6.10-12ubuntu3.1
Ubuntu:Pro:16.04:LTS schroot 0 1.6.10-1ubuntu3+esm1

Related vulnerabilities