Skip to content
OpenAdvisories
Unscored Public exploit CVE-2014-1912 EUVD-2014-1973GHSA-jhx7-j4rm-xpm8

Buffer overflow in the socket.recvfrom_into function in Modules/socketmodule.c in Python 2.5 before 2.7.7, 3.x before 3.3.4, and 3.4.x befo…

Published Feb 28, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

Buffer overflow in the socket.recvfrom_into function in Modules/socketmodule.c in Python 2.5 before 2.7.7, 3.x before 3.3.4, and 3.4.x before 3.4rc1 allows remote attackers to execute arbitrary code via a crafted string.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 python2.7 2.7.6-6 —
Debian 7 python2.7 2.7.3-6+deb7u2 DSA-2880-1
Debian 6.0 python2.6 2.6.6-8+deb6u1 DLA-25-1
ReleasePackageFixed inAdvisory
RHEL 6 python +5 2.6.6-64.el6 RHSA-2015:1330
RHEL 2 python27 +2 1.1-17.el6 RHSA-2015:1064
RHEL 2 python27-python +6 2.7.8-3.el6 RHSA-2015:1064
RHEL 2 python27-python-pip 1.5.6-5.el6 RHSA-2015:1064
RHEL 2 python27-python-setuptools 0.9.8-3.el6 RHSA-2015:1064
RHEL 2 python27-python-simplejson 3.2.0-2.el6 RHSA-2015:1064
RHEL 2 python27-python-wheel 0.24.0-2.el6 RHSA-2015:1064
ReleasePackageFixed inAdvisory
SLES 15 SP1 python 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SLES 15 SP1 python-base 2.7.17-7.32.1 SUSE-SU-2020:0234-1
SLES 15 python 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SLES 15 python-base 2.7.17-7.32.1 SUSE-SU-2020:0234-1
SLES 2 python 2.7.17-7.32.2 SUSE-SU-2020:0234-1
SLES 2 python-base 2.7.17-7.32.1 SUSE-SU-2020:0234-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python 2.7.18-8.1 openSUSE-SU-2024:11202-1
openSUSE Tumbleweed python-base 2.7.12-1.4 openSUSE-SU-2024:10536-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 python27 +2 1.1-20.el7 ELSA-2015-1064
Oracle Linux 7 python27-python +6 2.7.8-3.el7 ELSA-2015-1064
Oracle Linux 7 python27-python-pip 1.5.6-5.el7 ELSA-2015-1064
Oracle Linux 7 python27-python-setuptools 0.9.8-5.el7 ELSA-2015-1064
Oracle Linux 7 python27-python-simplejson 3.2.0-3.el7 ELSA-2015-1064
Oracle Linux 7 python27-python-wheel 0.24.0-2.el7 ELSA-2015-1064

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References