Bugzilla – Bug 884075
VUL-0: CVE-2014-4616: python: missing boundary check in JSON module
Last modified: 2014-12-31 10:05:44 UTC
Python 2 and 3 are susceptible to arbitrary process memory reading by a user or adversary due to a bug in the _json module caused by insufficient bounds checking. The sole prerequisites of this attack are that the attacker is able to control or influence the two parameters of the default scanstring function: the string to be decoded and the index. The bug is caused by allowing the user to supply a negative index value. The index value is then used directly as an index to an array in the C code; internally the address of the array and its index are added to each other in order to yield the address of the value that is desired. However, by supplying a negative index value and adding this to the address of the array, the processor's register value wraps around and the calculated value will point to a position in memory which isn't within the bounds of the supplied string, causing the function to access other parts of the process memory. References: http://bugs.python.org/issue21529 https://bugzilla.redhat.com/show_bug.cgi?id=1112285
SLE12 and Factory are already fixed
python 2.6 (SLE 11) and lower don't seem to be affected -- the vulnerable function argument is not present
That was easy, thank you. Can you please take care of openSUSE 12.3 and 13.1?
This is an autogenerated message for OBS integration: This bug (884075) was mentioned in https://build.opensuse.org/request/show/238819 13.1 / python https://build.opensuse.org/request/show/238820 13.1 / python3 https://build.opensuse.org/request/show/238821 12.3 / python https://build.opensuse.org/request/show/238822 12.3 / python3
handing over to security
openSUSE-SU-2014:0890-1: An update that fixes one vulnerability is now available. Category: security (moderate) Bug References: 884075 CVE References: CVE-2014-4616 Sources used: openSUSE 13.1 (src): python-2.7.6-8.10.1, python-base-2.7.6-8.10.1, python-doc-2.7.6-8.10.1, python3-3.3.5-5.12.1, python3-base-3.3.5-5.12.1, python3-doc-3.3.5-5.12.1 openSUSE 12.3 (src): python-2.7.3-10.16.1, python-base-2.7.3-10.16.1, python-doc-2.7-10.16.1, python3-3.3.0-6.19.1, python3-base-3.3.0-6.19.1, python3-doc-3.3.0-6.19.1
was released
openSUSE-SU-2014:1734-1: An update that solves four vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 863741,884075,885882,898572,901715 CVE References: CVE-2014-1912,CVE-2014-4616,CVE-2014-4650,CVE-2014-7185 Sources used: openSUSE Evergreen 11.4 (src): python-2.7.3-52.1, python-base-2.7.3-52.1, python-doc-2.7-52.1