This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes

Bug 610877 (CVE-2010-1666)

Summary: CVE-2010-1666 python-cjson: Buffer overflow (crash) when encoding wide Unicode characters on UTF-32/UCS-4
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fschwarz, michael
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: public=20100616,reported=20100607,source=vendor-sec,fedora-all/python-cjson=affected/impact=low/cvss2=4.3/AV:N/AC:M/Au:N/C:N/I:N/A:P/
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: ---
Bug Depends On: 610881    
Bug Blocks:    
Description Flags
And local copy of Ubuntu patch none

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).


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

Patch applied by Ubuntu:
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]