CVE-2022-2787
stricter rules on chroot names
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2022-2787- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-281
- Updated
- 2026-11-02
CVE List No score
stricter rules on chroot names
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.
- Record
CVE-2022-2787- Updated
- 2026-11-02
EUVDEUVD-2022-35028 No score
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.
- Record
EUVD-2022-35028- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pmr6-f78j-pq2c
4.3
Schroot before 1.6.13 had too permissive rules on chroot or session names, allowing a denial of...
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.
- Record
GHSA-pmr6-f78j-pq2c- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-281
- Updated
- 2026-11-02
OSV
4.3
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.
- Record
CVE-2022-2787- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-2787
4.3
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.
- Record
DEBIAN-CVE-2022-2787- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-2787
4.3
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.
- Record
UBUNTU-CVE-2022-2787- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVMGASA-2022-0329 No score
Updated schroot packages fix security vulnerability
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. (CVE-2022-2787)
- Record
MGASA-2022-0329- Updated
- 2026-11-02
OSVUSN-5584-1 No score
schroot vulnerability
It was discovered that Schroot incorrectly handled certain Schroot names. An attacker could possibly use this issue to break schroot's internal state causing a denial of service.
- Record
USN-5584-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
schrootDebian:12 |
before 1.6.12-2 | 1.6.12-2 |
schrootDebian:13 |
before 1.6.12-2 | 1.6.12-2 |
schrootDebian:14 |
before 1.6.12-2 | 1.6.12-2 |
schrootDebian:10 |
before 1.6.10-6+deb10u1, plus listed versions 1.6.10-6 |
1.6.10-6+deb10u1 |
schrootDebian:11 |
before 1.6.10-12+deb11u1, plus listed versions 1.6.10-12 |
1.6.10-12+deb11u1 |
schrootMageia:8 |
before 1.7.2-18.1.mga8 | 1.7.2-18.1.mga8 |
schrootUbuntu:Pro:16.04:LTS |
before 1.6.10-1ubuntu3+esm1, plus listed versions 1.6.10-1ubuntu21.6.10-1ubuntu3 |
1.6.10-1ubuntu3+esm1 |
schrootUbuntu:18.04:LTS |
before 1.6.10-4ubuntu0.1, plus listed versions 1.6.10-41.6.10-4build1 |
1.6.10-4ubuntu0.1 |
schrootUbuntu:20.04:LTS |
before 1.6.10-9ubuntu0.1, plus listed versions 1.6.10-61.6.10-81.6.10-91.6.10-9build1 |
1.6.10-9ubuntu0.1 |
schrootUbuntu:22.04:LTS |
before 1.6.10-12ubuntu3.1, plus listed versions 1.6.10-12ubuntu21.6.10-12ubuntu3 |
1.6.10-12ubuntu3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-2787 is a medium vulnerability (CVSS 4.3) in Debian Schroot, published August 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 64th percentile. Fixed in schroot 1.6.12-2.
References
codeberg.org/shelter/reschroot/commit/6f7166a285e1e97aea390be633591f9791b29a6d
lists.debian.org/debian-security-announce/2022/msg00182.html
lists.debian.org/debian-lts-announce/2022/08/msg00007.html
security.gentoo.org/glsa/202210-11
nvd.nist.gov/vuln/detail/CVE-2022-2787
github.com/advisories/GHSA-pmr6-f78j-pq2c