Heap-based buffer overflow in Linux kernel - CVE-2012-3400
Published: October 3, 2012 / Updated: August 11, 2020
Vulnerability details
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 udf_load_logicalvol function in fs/udf/super.c in the Linux kernel before 3.4.5. A remote attacker can use a crafted UDF filesystem. 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.
Affected software
SUSE Linux
Ubuntu
linux (Ubuntu package)
linux-image-2.6.32-347-ec2 (Ubuntu package)
linux-lts-backport-natty (Ubuntu package)
linux-lts-backport-oneiric (Ubuntu package)
How to mitigate CVE-2012-3400
linux-image-2.6.32-347-ec2 (Ubuntu package) - update to 2.6.32-347.53
linux-lts-backport-natty (Ubuntu package) - update to 2.6.38-15.66~lucid1
linux-lts-backport-oneiric (Ubuntu package) - update to 3.0.0-24.40~lucid1
External References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1df2ae31c724e57be9d7ac00d78db8a5dabdd050
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=adee11b2085bee90bd8f4f52123ffb07882d6256
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10691
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html
- http://rhn.redhat.com/errata/RHSA-2013-0594.html
- http://secunia.com/advisories/50506
- http://ubuntu.com/usn/usn-1529-1
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.5
- http://www.openwall.com/lists/oss-security/2012/07/10/2
- http://www.ubuntu.com/usn/USN-1555-1
- http://www.ubuntu.com/usn/USN-1556-1
- http://www.ubuntu.com/usn/USN-1557-1
- https://bugzilla.redhat.com/show_bug.cgi?id=843139
- https://github.com/torvalds/linux/commit/1df2ae31c724e57be9d7ac00d78db8a5dabdd050
- https://github.com/torvalds/linux/commit/adee11b2085bee90bd8f4f52123ffb07882d6256