{"id":"CVE-2016-4997","state":"PUBLISHED","title":"The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or","description":"The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container root access to provide a crafted offset value that triggers an unintended decrement.","publishedAt":"2016-07-03T21:00:00.000Z","updatedAt":"2024-08-06T00:46:40.226Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html","http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html","http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html","http://www.ubuntu.com/usn/USN-3017-1","http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html","http://www.ubuntu.com/usn/USN-3017-3","http://rhn.redhat.com/errata/RHSA-2016-1847.html","https://bugzilla.redhat.com/show_bug.cgi?id=1349722","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html","http://www.ubuntu.com/usn/USN-3018-2","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html","http://www.ubuntu.com/usn/USN-3017-2","http://rhn.redhat.com/errata/RHSA-2016-1875.html","http://www.ubuntu.com/usn/USN-3019-1","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html","http://www.debian.org/security/2016/dsa-3607","http://www.ubuntu.com/usn/USN-3016-2","http://www.ubuntu.com/usn/USN-3016-1","http://www.openwall.com/lists/oss-security/2016/06/24/5","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html","https://www.exploit-db.com/exploits/40435/","https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","http://www.ubuntu.com/usn/USN-3018-1","http://www.securitytracker.com/id/1036171","https://www.exploit-db.com/exploits/40489/","https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541","http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html","http://rhn.redhat.com/errata/RHSA-2016-1883.html","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html","http://www.ubuntu.com/usn/USN-3016-3","http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html","http://www.openwall.com/lists/oss-security/2016/09/29/10","http://www.ubuntu.com/usn/USN-3016-4","http://www.securityfocus.com/bid/91451","http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3","http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","http://www.ubuntu.com/usn/USN-3020-1","https://github.com/nccgroup/TriforceLinuxSyscallFuzzer/tree/master/crash_reports/report_compatIpt","http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:43.384Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/4xxx/CVE-2016-4997.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-4997","state":"PUBLISHED","datePublished":"2016-07-03T21:00:00.000Z","dateUpdated":"2024-08-06T00:46:40.226Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2016-05-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container root access to provide a crafted offset value that triggers an unintended decrement."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html","name":"SUSE-SU-2016:2180","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html","name":"SUSE-SU-2016:1709","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-3017-1","name":"USN-3017-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html","name":"SUSE-SU-2016:1985","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-3017-3","name":"USN-3017-3","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1847.html","name":"RHSA-2016:1847","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1349722","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html","name":"openSUSE-SU-2016:2184","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-3018-2","name":"USN-3018-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html","name":"SUSE-SU-2016:2174","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-3017-2","name":"USN-3017-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1875.html","name":"RHSA-2016:1875","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ubuntu.com/usn/USN-3019-1","name":"USN-3019-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html","name":"SUSE-SU-2016:2018","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.debian.org/security/2016/dsa-3607","name":"DSA-3607","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.ubuntu.com/usn/USN-3016-2","name":"USN-3016-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-3016-1","name":"USN-3016-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/24/5","name":"[oss-security] 20160624 Linux CVE-2016-4997 (local privilege escalation) and CVE-2016-4998 (out of bounds memory access)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html","name":"SUSE-SU-2016:2181","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html","name":"SUSE-SU-2016:2178","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.exploit-db.com/exploits/40435/","name":"40435","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-3018-1","name":"USN-3018-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securitytracker.com/id/1036171","name":"1036171","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.exploit-db.com/exploits/40489/","name":"40489","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html","name":"SUSE-SU-2016:2177","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1883.html","name":"RHSA-2016:1883","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html","name":"SUSE-SU-2016:2179","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html","name":"SUSE-SU-2016:2105","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-3016-3","name":"USN-3016-3","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html","name":"SUSE-SU-2016:1710","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/10","name":"[oss-security] 20160929 CVE request - Linux kernel through 4.6.2 allows escalade privileges via IP6T_SO_SET_REPLACE compat setsockopt call","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ubuntu.com/usn/USN-3016-4","name":"USN-3016-4","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/91451","name":"91451","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3","tags":["x_refsource_CONFIRM"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-3020-1","name":"USN-3020-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/nccgroup/TriforceLinuxSyscallFuzzer/tree/master/crash_reports/report_compatIpt","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html","name":"SUSE-SU-2016:1937","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2016-06-24T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html","name":"SUSE-SU-2016:2180","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html","name":"SUSE-SU-2016:1709","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3017-1","name":"USN-3017-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html","name":"SUSE-SU-2016:1985","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3017-3","name":"USN-3017-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1847.html","name":"RHSA-2016:1847","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1349722","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html","name":"openSUSE-SU-2016:2184","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3018-2","name":"USN-3018-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html","name":"SUSE-SU-2016:2174","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3017-2","name":"USN-3017-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1875.html","name":"RHSA-2016:1875","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3019-1","name":"USN-3019-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html","name":"SUSE-SU-2016:2018","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.debian.org/security/2016/dsa-3607","name":"DSA-3607","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3016-2","name":"USN-3016-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3016-1","name":"USN-3016-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/24/5","name":"[oss-security] 20160624 Linux CVE-2016-4997 (local privilege escalation) and CVE-2016-4998 (out of bounds memory access)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html","name":"SUSE-SU-2016:2181","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html","name":"SUSE-SU-2016:2178","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/40435/","name":"40435","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3018-1","name":"USN-3018-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securitytracker.com/id/1036171","name":"1036171","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/40489/","name":"40489","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html","name":"SUSE-SU-2016:2177","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1883.html","name":"RHSA-2016:1883","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html","name":"SUSE-SU-2016:2179","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html","name":"SUSE-SU-2016:2105","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3016-3","name":"USN-3016-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html","name":"SUSE-SU-2016:1710","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/10","name":"[oss-security] 20160929 CVE request - Linux kernel through 4.6.2 allows escalade privileges via IP6T_SO_SET_REPLACE compat setsockopt call","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3016-4","name":"USN-3016-4","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/91451","name":"91451","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-3020-1","name":"USN-3020-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://github.com/nccgroup/TriforceLinuxSyscallFuzzer/tree/master/crash_reports/report_compatIpt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html","name":"SUSE-SU-2016:1937","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T00:46:40.226Z"}}]}}}