{"id":"CVE-2017-6507","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-6507","generatedAt":"2026-10-28T19:46:56.075Z","title":"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.","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.","published":"2017-03-24T07:59:00.000Z","lastModified":"2026-06-17T01:22:28.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-269"],"affected":["apparmor/apparmor","canonical/ubuntu core","canonical/ubuntu touch"],"epss":{"score":0.01589,"percentile":0.75512,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (1.59%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/97223","source":"cve@mitre.org"},{"url":"https://bugs.launchpad.net/apparmor/+bug/1668892","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.html","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/97223","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.launchpad.net/apparmor/+bug/1668892","tags":["Issue Tracking","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-6507","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}