7.8high

CVE-2016-61871 exploit

The apparmor_setprocattr function in security/apparmor/lsm.c in the Linux kernel before 4.6.5 does not validate the buffer size, which allo…

Published 10 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.4%
percentile 84%
Public exploits
1
Exploit-DB

Summary

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.

Exploit prediction (EPSS)

2.40% probability of exploitation in the next 30 days, higher than 84% of all scored CVEs.

Exploits and detections

  • EDB-44301 Linux Kernel < 4.5.1 - Off-By-One (PoC) · dos · 2016-10-16

CVSS scores

Assigned byVersionScoreVector
NVD3.17.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-264 Permissions, Privileges, and Access Controls
Technology feeds
Linux kernel (RSS, critical only)

References

  • github.com /torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca · x_refsource_CONFIRM, x_transferred
  • git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d926509 · x_refsource_CONFIRM, x_transferred
  • kernel.org /pub/linux/kernel/v4.x/ChangeLog-4.6.5 · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2016/07/09/2 · mailing-list, x_refsource_MLIST, x_transferred
  • marc.info /?l=linux-kernel&m=146793642811929&w=2 · mailing-list, x_refsource_MLIST, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=1354383 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/91696 · vdb-entry, x_refsource_BID, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.