Bug 610877 - (CVE-2010-1666) CVE-2010-1666 python-cjson: Buffer overflow (crash) when encoding wide Unicode characters on UTF-32/UCS-4
CVE-2010-1666 python-cjson: Buffer overflow (crash) when encoding wide Unicod...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
public=20100616,reported=20100607,sou...
: Security
Depends On: 610881
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-02 12:30 EDT by Jan Lieskovsky
Modified: 2015-07-31 02:28 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
And local copy of Ubuntu patch (3.36 KB, application/x-gzip)
2010-07-02 12:38 EDT, Jan Lieskovsky
no flags Details

  None (edit)
Description Jan Lieskovsky 2010-07-02 12:30:46 EDT
Matt Giuca noticed a possibility of buffer overflow, present in Python
JSON encoder/decoder, when encoding wide Unicode characters on UTF-32/UCS-4.
A remote attacker could create a specially-crafted Python script, which once
launched by local, unsuspecting user could lead to denial of service
(application using Python JSON encoder / decoder crash).

References:
  [1] https://bugs.launchpad.net/ubuntu/+source/python-cjson/+bug/585274

Public PoC (from [1]):
  [2] cjson.encode(u'\U0001D11E\U0001D11E\U0001D11E\U0001D11E\u1234\u1234\u1234\u1234\u1234\u1234')

Patch applied by Ubuntu:
  [3] https://launchpad.net/ubuntu/hardy/+source/python-cjson/1.0.5-1ubuntu0.8.04.1/+files/python-cjson_1.0.5-1ubuntu0.8.04.1.diff.gz
Comment 1 Jan Lieskovsky 2010-07-02 12:38:00 EDT
Created attachment 429108 [details]
And local copy of Ubuntu patch
Comment 2 Jan Lieskovsky 2010-07-02 12:39:52 EDT
This issue affects the versions of the python-cjson package,
as shipped with Fedora releases of 12 and 13.

This issue affects the versions of the python-cjson package,
as present within EPEL-5 repository.

Please fix.
Comment 3 Jan Lieskovsky 2010-07-02 12:40:46 EDT
Created python-cjson tracking bugs for this issue

Affects: fedora-all [bug 610881]

Note You need to log in before you can comment on or make changes to this bug.