CVE-2012-0870 Memory corruption in n/a
Remote attackers can cause denial of service or execute arbitrary code via a crafted Batched request in Samba's smbd daemon.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-0870?
CVE-2012-0870 is a high-severity memory corruption vulnerability in Samba Samba, published on 23 Feb 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Heap-based buffer overflow in process.c in smbd in Samba 3.0, as used in the file-sharing service on the BlackBerry PlayBook tablet before 2.0.0.7971 and other products, allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a Batched (aka AndX) request that triggers infinite recursion.
Weakness: CWE-119
Which versions are affected by CVE-2012-0870?
It affects 3 products.
Linux distribution packages (40)
samba Red Hat:enterprise_linux:4::as | All versions | 0:3.0.33-0.35.el4 |
samba-client Red Hat:enterprise_linux:4::as | All versions | 0:3.0.33-0.35.el4 |
samba-common Red Hat:enterprise_linux:4::as | All versions | 0:3.0.33-0.35.el4 |
samba-debuginfo Red Hat:enterprise_linux:4::as | All versions | 0:3.0.33-0.35.el4 |
samba-swat Red Hat:enterprise_linux:4::as | All versions | 0:3.0.33-0.35.el4 |
samba Red Hat:enterprise_linux:4::desktop | All versions | 0:3.0.33-0.35.el4 |
samba-client Red Hat:enterprise_linux:4::desktop | All versions | 0:3.0.33-0.35.el4 |
samba-common Red Hat:enterprise_linux:4::desktop | All versions | 0:3.0.33-0.35.el4 |
samba-debuginfo Red Hat:enterprise_linux:4::desktop | All versions | 0:3.0.33-0.35.el4 |
samba-swat Red Hat:enterprise_linux:4::desktop | All versions | 0:3.0.33-0.35.el4 |
samba Red Hat:enterprise_linux:4::es | All versions | 0:3.0.33-0.35.el4 |
samba-client Red Hat:enterprise_linux:4::es | All versions | 0:3.0.33-0.35.el4 |
samba-common Red Hat:enterprise_linux:4::es | All versions | 0:3.0.33-0.35.el4 |
samba-debuginfo Red Hat:enterprise_linux:4::es | All versions | 0:3.0.33-0.35.el4 |
samba-swat Red Hat:enterprise_linux:4::es | All versions | 0:3.0.33-0.35.el4 |
samba Red Hat:enterprise_linux:4::ws | All versions | 0:3.0.33-0.35.el4 |
samba-client Red Hat:enterprise_linux:4::ws | All versions | 0:3.0.33-0.35.el4 |
samba-common Red Hat:enterprise_linux:4::ws | All versions | 0:3.0.33-0.35.el4 |
samba-debuginfo Red Hat:enterprise_linux:4::ws | All versions | 0:3.0.33-0.35.el4 |
samba-swat Red Hat:enterprise_linux:4::ws | All versions | 0:3.0.33-0.35.el4 |
libsmbclient Red Hat:enterprise_linux:5::client | All versions | 0:3.0.33-3.38.el5_8 |
samba Red Hat:enterprise_linux:5::client | All versions | 0:3.0.33-3.38.el5_8 |
samba-client Red Hat:enterprise_linux:5::client | All versions | 0:3.0.33-3.38.el5_8 |
samba-common Red Hat:enterprise_linux:5::client | All versions | 0:3.0.33-3.38.el5_8 |
samba-debuginfo Red Hat:enterprise_linux:5::client | All versions | 0:3.0.33-3.38.el5_8 |
samba-swat Red Hat:enterprise_linux:5::client | All versions | 0:3.0.33-3.38.el5_8 |
libsmbclient-devel Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.0.33-3.38.el5_8 |
samba Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.0.33-3.38.el5_8 |
samba-debuginfo Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.0.33-3.38.el5_8 |
libsmbclient Red Hat:enterprise_linux:5::server | All versions | 0:3.0.33-3.38.el5_8 |
libsmbclient-devel Red Hat:enterprise_linux:5::server | All versions | 0:3.0.33-3.38.el5_8 |
samba Red Hat:enterprise_linux:5::server | All versions | 0:3.0.33-3.38.el5_8 |
samba-client Red Hat:enterprise_linux:5::server | All versions | 0:3.0.33-3.38.el5_8 |
samba-common Red Hat:enterprise_linux:5::server | All versions | 0:3.0.33-3.38.el5_8 |
samba-debuginfo Red Hat:enterprise_linux:5::server | All versions | 0:3.0.33-3.38.el5_8 |
samba-swat Red Hat:enterprise_linux:5::server | All versions | 0:3.0.33-3.38.el5_8 |
libsmbclient Red Hat:rhel_eus:5.6 | All versions | 0:3.0.33-3.29.el5_6.4 |
libsmbclient-devel Red Hat:rhel_eus:5.6 | All versions | 0:3.0.33-3.29.el5_6.4 |
samba Red Hat:rhel_eus:5.6 | All versions | 0:3.0.33-3.29.el5_6.4 |
samba-client Red Hat:rhel_eus:5.6 | All versions | 0:3.0.33-3.29.el5_6.4 |
Products include Rim Blackberry Playbook Os, Rim Blackberry Playbook Tablet, Samba Samba.
How do I fix CVE-2012-0870?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2012-0870 being exploited?
There is no known exploitation of CVE-2012-0870 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2012-0870, ECHO-d4ae-b892-b60e, GHSA-h6wh-2qjc-xjwm, RHSA-2012:0332.