CVE-2017-6507
An issue was discovered in AppArmor before 2.12. Incorrect handling of unknown AppArmor profiles in AppArmor init scripts, upstart jobs, and/or systemd unit files allows an attacker to possibly have increased attack surfaces of processes that were intended to be confined by AppArmor. This is due to the common logic to handle 'restart' operations removing AppArmor profiles that aren't found in the typical filesystem locations, such as /etc/apparmor.d/. Userspace projects that manage their own AppArmor profiles in atypical directories, such as what's done by LXD and Docker, are affected by this flaw in the AppArmor init script logic.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
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 16.04 | apparmor | Fixed | 2.10.95-0ubuntu2.6 | UBUNTU-CVE-2017-6507 |
| Ubuntu 14.04 | apparmor | Fixed | 2.10.95-0ubuntu2.6~14.04.1 | UBUNTU-CVE-2017-6507 |
| Debian 14 | apparmor | Fixed | 2.11.0-3 | DEBIAN-CVE-2017-6507 |
| Debian 13 | apparmor | Fixed | 2.11.0-3 | DEBIAN-CVE-2017-6507 |
| Debian 12 | apparmor | Fixed | 2.11.0-3 | DEBIAN-CVE-2017-6507 |
References
- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648
- http://www.securityfocus.com/bid/97223
- https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.html
- https://bugs.launchpad.net/apparmor/+bug/1668892
- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647
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.