Advisory

GHSA-9772-cwx9-r4cj

Also known as: CVE-2014-4616, PSF-2017-1, PYSEC-2026-921

Summary

simplejson before 2.6.1 vulnerable to array index error

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 raw_decode function.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 02:05 UTC
Modified
2026-07-07 11:56 UTC

Affected packages and fixes

simplejson

PyPI · All systems

Affected

  • introduced 0, fixed 2.6.1 (ecosystem)

Fixed versions

2.6.1

Fix

  • Fixed version 2.6.1
    pip install --upgrade simplejson==2.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences