python: missing boundary check in JSON module
Published Aug 24, 2017
5.9
MEDIUMCVSS 3.1
EPSS 8.13%
Description
Array index error in the scanstring function in the _json module in Python 2.7 through 3.5 and simplejson before 2.6.1 allows context-dependent attackers to read arbitrary process memory via a negative index value in the idx argument to the raw_decode function.
Affected products
No data.
Configuration 1
Configuration 2
- < 2.6.1
Configuration 3
- 13.1
- 12.3
No data.
Red Hat Enterprise Linux 7
python-0:2.7.5-34.el7
Fixed · RHSA-2015:2101
Red Hat Satellite 6.0
python-anyjson-0:0.3.3-4.el6sat
Fixed · RHEA-2014:1175
Red Hat Satellite 6.0
python-anyjson-0:0.3.3-4.el6sat
Fixed · RHEA-2014:1175
Red Hat Satellite 6.0
python-simplejson-0:3.2.0-1.el7sat
Fixed · RHEA-2014:1175
Red Hat Satellite 6.0
python-simplejson-0:3.2.0-1.el7sat
Fixed · RHEA-2014:1175
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-0:1.1-20.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-0:2.7.8-3.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-pip-0:1.5.6-5.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-setuptools-0:0.9.8-5.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-simplejson-0:3.2.0-3.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-wheel-0:0.24.0-2.el7
Fixed · RHSA-2015:1064
Red Hat Enterprise Linux 5
python
Not affected
Red Hat Enterprise Linux 5
python-simplejson
Will not fix
Red Hat Enterprise Linux 6
python
Not affected
Red Hat Enterprise Linux 6
python-simplejson
Will not fix
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)
python-simplejson
Affected
Red Hat Software Collections
python27-python
Affected
Red Hat Software Collections
python27-python-simplejson
Affected
Red Hat Software Collections
python33-python
Will not fix
Red Hat Software Collections
python33-python-simplejson
Will not fix
Red Hat Software Collections
rh-python34-python
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | python-0:2.7.5-34.el7 | Fixed | RHSA-2015:2101 |
| Red Hat Satellite 6.0 | python-anyjson-0:0.3.3-4.el6sat | Fixed | RHEA-2014:1175 |
| Red Hat Satellite 6.0 | python-anyjson-0:0.3.3-4.el6sat | Fixed | RHEA-2014:1175 |
| Red Hat Satellite 6.0 | python-simplejson-0:3.2.0-1.el7sat | Fixed | RHEA-2014:1175 |
| Red Hat Satellite 6.0 | python-simplejson-0:3.2.0-1.el7sat | Fixed | RHEA-2014:1175 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-0:1.1-20.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.8-3.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-pip-0:1.5.6-5.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-setuptools-0:0.9.8-5.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-simplejson-0:3.2.0-3.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-wheel-0:0.24.0-2.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Enterprise Linux 5 | python | Not affected | n/a |
| Red Hat Enterprise Linux 5 | python-simplejson | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | python | Not affected | n/a |
| Red Hat Enterprise Linux 6 | python-simplejson | Will not fix | n/a |
| Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) | python-simplejson | Affected | n/a |
| Red Hat Software Collections | python27-python | Affected | n/a |
| Red Hat Software Collections | python27-python-simplejson | Affected | n/a |
| Red Hat Software Collections | python33-python | Will not fix | n/a |
| Red Hat Software Collections | python33-python-simplejson | Will not fix | n/a |
| Red Hat Software Collections | rh-python34-python | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of python as shipped with Red Hat Enterprise Linux 7, the versions of python-simplejson as shipped with Red Hat Enterprise Linux 5 and 6, and the versions of python33-python and python33-python-simplejson as shipped with Red Hat Software Collections. Red Hat Product Security has rated this issue as having Moderate security impact. Future updates may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.13% (0.08125) | 94.67th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.13% (0.08125) | 94.09th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.55% (0.00551) | 65.35th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.02% (0.05024) | 82.52th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.55% (0.00551) | 66.02th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.31% (0.00307) | 70.67th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.31% (0.00307) | 69.04th | v3 (v2023.03.01) |
| Nov 28, 2023 | 0.31% (0.00307) | 66.55th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.43% (0.00429) | 70.44th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
References (13)
- http://bugs.python.org/issue21529 x_refsource_CONFIRMIssue TrackingVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2014-07/msg00015.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2014/06/24/7 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1064.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.securityfocus.com/bid/68119 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2014-4616 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752395 x_refsource_MISCIssue TrackingMailing ListThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1112285 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/advisories/GHSA-9772-cwx9-r4cj Advisory
- https://hackerone.com/reports/12297 x_refsource_MISCExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2014-4616
- https://security.gentoo.org/glsa/201503-10 vendor-advisoryx_refsource_GENTOOPatchThird Party AdvisoryVDB Entry
- https://www.cve.org/CVERecord?id=CVE-2014-4616
Change history (0)
No recorded changes yet.