Description
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.
Metrics
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647Issue Tracking, Patch, Third Party Advisory
- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648Issue Tracking, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/97223
- https://bugs.launchpad.net/apparmor/+bug/1668892Issue Tracking, Patch, Third Party Advisory
- https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.htmlThird Party Advisory
- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647Issue Tracking, Patch, Third Party Advisory
- http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648Issue Tracking, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/97223
- https://bugs.launchpad.net/apparmor/+bug/1668892Issue Tracking, Patch, Third Party Advisory
- https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.htmlThird Party Advisory
Timeline
- Published
- Mar 24, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified