{"id":"CVE-2016-6187","published":"2016-08-06T20:00:00Z","modified":"2024-08-06T01:22:20Z","title":"The apparmor_setprocattr function in security/apparmor/lsm.c in the Linux kernel before 4.6.5 does not validate the…","vendor":null,"product":null,"tier":"tail","description":{"text":"The apparmor_setprocattr function in security/apparmor/lsm.c in the Linux kernel before 4.6.5 does not validate the buffer size, which allows local users to gain privileges by triggering an AppArmor setprocattr hook.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02397,"percentile":0.84277,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca","tags":["x_refsource_CONFIRM"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca","tags":["x_refsource_CONFIRM"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/07/09/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://marc.info/?l=linux-kernel&m=146793642811929&w=2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1354383","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/91696","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":21.9,"factors":[{"name":"EPSS percentile","points":16.86},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-10-16"},"pocGithub":{"count":2,"skipped":0,"earliest":"2019-07-23","earliestUrl":"https://github.com/vnik5287/cve-2016-6187-poc","repos":[{"name":"Milo-D/CVE-2016-6187_LPE","url":"https://github.com/Milo-D/CVE-2016-6187_LPE","stars":7,"created":"2024-05-12"},{"name":"vnik5287/cve-2016-6187-poc","url":"https://github.com/vnik5287/cve-2016-6187-poc","stars":6,"created":"2019-07-23"}]},"first":{"date":"2016-10-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/44301"},"provenance":"source"},"euvd":{"id":"EUVD-2016-7120","exploited":false,"provenance":"source"},"exploits":[{"id":44301,"url":"https://www.exploit-db.com/exploits/44301","title":"Linux Kernel < 4.5.1 - Off-By-One (PoC)","date":"2016-10-16","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-cve-2011-3619-family-cve-2011-3619","parents":[{"from":"CVE-2011-3619","to":"CVE-2016-6187","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["security/apparmor/lsm.c"],"commits":["https://github.com/torvalds/linux/commit/a5b2c5b2ad5853591a6cac6134cd0f599a720865","https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca"],"basis":"shared function","functions":["task_struct"]}]}]}}