CVE-2014-4616: 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...
Medium CVSS 5.9
- CVE id
- CVE-2014-4616
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Python Runtimes and servers |
>= 2.7.0, < 2.7.7 >= 3.0.0, < 3.2.6 >= 3.3.0, < 3.3.6 >= 3.4.0, < 3.4.1 |
2.7.7, 3.2.6, 3.3.6, 3.4.1 |
How to fix it
Upgrade Python to the fixed release of the line you run: 2.7.7, 3.2.6, 3.3.6, 3.4.1.
python --version
- Install the patched Python release of your minor line (pyenv, the python image tag, or your OS packages) and recreate virtual environments.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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 rawdecode function.
References
- CVE-2014-4616 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2014-4616
- Web: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752395
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1112285
- Web: https://hackerone.com/reports/12297
- Web: https://security.gentoo.org/glsa/201503-10
- Web: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752395
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1112285
- Web: https://hackerone.com/reports/12297
- Web: https://security.gentoo.org/glsa/201503-10
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.