CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2017-1000158 from the MITRE CVE dictionary dictionary and NIST NVD.
This issue affects the versions of python as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7, and python27-python, rh-python34-python, and rh-python35-python as shipped with Red Hat Software Collections 3. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 8.1 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Attack Vector | Network |
Attack Complexity | High |
Privileges Required | None |
User Interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity Impact | High |
Availability Impact | High |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python35-python | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | python27-python | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python34-python | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python36-python | Not affected |
Red Hat Enterprise Linux 7 | python | Will not fix |
Red Hat Enterprise Linux 6 | python | Will not fix |
Red Hat Enterprise Linux 5 | python | Will not fix |