CVE-2023-1326local privilege escalation in apport-cli
A privilege escalation attack was found in apport-cli 2.26.0 and earlier which is similar to CVE-2023-26604. If a system is specially configured to allow unprivileged users to run sudo apport-cli, less is configured as the pager, and the terminal size can be set: a local attacker can escalate privilege. It is extremely unlikely that a system administrator would configure sudo to allow unprivileged users to perform this class of exploit.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | apport | Fixed | 2.20.11-0ubuntu82.4 | UBUNTU-CVE-2023-1326 |
| Ubuntu 20.04 | apport | Fixed | 2.20.11-0ubuntu27.26 | UBUNTU-CVE-2023-1326 |
| Ubuntu 18.04 | apport | Fixed | 2.20.9-0ubuntu7.29 | UBUNTU-CVE-2023-1326 |
| Ubuntu 16.04 | apport | Fix pending |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical Ltd. Apport: affected: up to 2.26.0
Vendor advisories:
- https://github.com/canonical/apport/commit/e5f78cc89f1f5888b6a56b785dddcb0364c48ecb (patch)
- https://ubuntu.com/security/notices/USN-6018-1 (vendor-advisory)
References
- https://github.com/canonical/apport/commit/e5f78cc89f1f5888b6a56b785dddcb0364c48ecb
- https://ubuntu.com/security/notices/USN-6018-1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.