Bug 1106845 (CVE-2014-3994) - CVE-2014-3994 python-djblets: XSS Vulnerability in Djblets json_dumps()
Summary: CVE-2014-3994 python-djblets: XSS Vulnerability in Djblets json_dumps()
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2014-3994
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1105551 1106859
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-09 17:46 UTC by Vincent Danen
Modified: 2019-09-29 13:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 02:33:22 UTC


Attachments (Terms of Use)

Description Vincent Danen 2014-06-09 17:46:17 UTC
It was reported [1],[2],[3] that Django's JSON serialization does not handle escaping of any characters to make them safe for injecting into HTML. This allows an attacker who can provide part of a JSON-serializable object to craft a string that can break out of a <script> tag and create its own, injecting a custom script.

To fix this, we escape '<', '>', and '&' characters in the resulting string, preventing a </script> from executing.

Patches for 0.7.x [4] and 0.8.x [5] are available.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1105551
[2] https://code.google.com/p/reviewboard/issues/detail?id=3406
[3] http://seclists.org/oss-sec/2014/q2/494
[4] https://reviews.reviewboard.org/r/5944/diff/
[5] https://reviews.reviewboard.org/r/5945/diff/

Comment 1 Vincent Danen 2014-06-09 17:53:15 UTC
Created python-djblets tracking bugs for this issue:

Affects: epel-6 [bug 1106859]

Comment 2 Fedora Update System 2014-06-17 23:24:23 UTC
python-djblets-0.7.30-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2014-06-17 23:26:28 UTC
python-djblets-0.7.30-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2014-07-28 17:00:41 UTC
python-djblets-0.7.30-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Product Security DevOps Team 2019-06-08 02:33:22 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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