{"schemaVersion":3,"id":"CVE-2017-6507","aliases":["SUSE-SU-2017:1151-1","UBUNTU-CVE-2017-6507","USN-3247-1","DEBIAN-CVE-2017-6507"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-03-24T06:56:00.000Z","modified":"2024-08-05T15:33:20.013Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","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","exploitability":5.6,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","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","exploitability":5.6,"impact":6,"computed":true}]},"epss":{"probability":0.01589,"percentile":0.75274,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01589},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01589,"percentile":0.75274}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01589,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01589,"percentile":0.75274}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-269","name":"Improper Privilege Management","description":"The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/269.html"}],"affected":[{"vendor":"apparmor","product":"apparmor","name":"apparmor","label":"apparmor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.11","eol":null,"hubHref":"/vendor/apparmor/apparmor"},{"vendor":"canonical","product":"ubuntu_core","name":"ubuntu core","label":"ubuntu_core","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.04","eol":null,"hubHref":"/vendor/canonical/ubuntu_core"},{"vendor":"canonical","product":"ubuntu_touch","name":"ubuntu touch","label":"ubuntu_touch","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.04","eol":null,"hubHref":"/vendor/canonical/ubuntu_touch"},{"vendor":"debian","product":"apparmor","name":"apparmor","label":"apparmor","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/apparmor","purlType":"deb","versions":[{"text":"< 2.11.0-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.11.0-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"apparmor","name":"apparmor","label":"apparmor","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/apparmor","purlType":"deb","versions":[{"text":"< 2.10.95-0ubuntu2.6~14.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.10.95-0ubuntu2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.95-0ubuntu2.6~14.04.1 | < 2.10.95-0ubuntu2.6","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Desktop 12 SP1","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Desktop 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Desktop 12 SP1","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Desktop 12 SP2","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Desktop 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Desktop 12 SP2","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Server 12 SP1","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Server 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Server 12 SP1","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Server 12 SP2","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Server 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Server 12 SP2","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Software Development Kit 12 SP1","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Software Development Kit 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Software Development Kit 12 SP1","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null},{"vendor":"suse","product":"apparmor&distro=SUSE Linux Enterprise Software Development Kit 12 SP2","name":"apparmor","label":"apparmor&distro=SUSE Linux Enterprise Software Development Kit 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/apparmor&distro=SUSE Linux Enterprise Software Development Kit 12 SP2","purlType":"rpm","versions":[{"text":"< 2.8.2-54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-54.1","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648","label":"bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3648","hostname":"bazaar.launchpad.net","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/97223","label":"www.securityfocus.com/bid/97223","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.html","label":"people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-6507.html","hostname":"people.canonical.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://bugs.launchpad.net/apparmor/+bug/1668892","label":"bugs.launchpad.net/apparmor/+bug/1668892","hostname":"bugs.launchpad.net","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"http://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647","label":"bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3647","hostname":"bazaar.launchpad.net","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171151-1/","label":"www.suse.com/support/update/announcement/2017/suse-su-20171151-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1000201","label":"bugzilla.suse.com/1000201","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1016259","label":"bugzilla.suse.com/1016259","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1022610","label":"bugzilla.suse.com/1022610","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1029696","label":"bugzilla.suse.com/1029696","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1031529","label":"bugzilla.suse.com/1031529","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6507","label":"www.suse.com/security/cve/CVE-2017-6507","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-6507","label":"ubuntu.com/security/CVE-2017-6507","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3247-1","label":"ubuntu.com/security/notices/USN-3247-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6507","label":"www.cve.org/CVERecord?id=CVE-2017-6507","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-6507","label":"security-tracker.debian.org/tracker/CVE-2017-6507","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-03-24T06:56:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T15:33:20.013Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:44:41.281Z","stale":false,"partial":false}}