Heap-based buffer overflow in Linux kernel - CVE-2013-2850
Published: June 7, 2013 / Updated: August 11, 2020
Linux kernel
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the iscsi_add_notunderstood_response function in drivers/target/iscsi/iscsi_target_parameters.c in the iSCSI target subsystem in the Linux kernel through 3.9.4. A remote attacker can use a long key that is not properly handled during construction of an error-response packet. to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
How to mitigate CVE-2013-2850
Sources
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cea4dcfdad926a27a18e188720efe0f2c9403456
- http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00018.html
- http://www.openwall.com/lists/oss-security/2013/06/01/2
- http://www.ubuntu.com/usn/USN-1844-1
- http://www.ubuntu.com/usn/USN-1845-1
- http://www.ubuntu.com/usn/USN-1846-1
- http://www.ubuntu.com/usn/USN-1847-1
- https://bugzilla.redhat.com/show_bug.cgi?id=968036
- https://github.com/torvalds/linux/commit/cea4dcfdad926a27a18e188720efe0f2c9403456