Bug 1558267 (CVE-2018-7753) - CVE-2018-7753 python-bleach: URI Scheme Restriction Bypass with character entities
Summary: CVE-2018-7753 python-bleach: URI Scheme Restriction Bypass with character ent...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-7753
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1558268
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-19 23:29 UTC by Laura Pardo
Modified: 2021-10-21 19:58 UTC (History)
1 user (show)

Fixed In Version: python-bleach 2.1.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-21 19:58:22 UTC


Attachments (Terms of Use)

Description Laura Pardo 2018-03-19 23:29:24 UTC
A flaw was found in python-bleach version 2.1. Affected versions of this package are vulnerable to URI Scheme Restriction Bypass. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.


References:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892252

Patch:
https://github.com/mozilla/bleach/commit/c5df5789ec3471a31311f42c2d19fc2cf21b35ef

Comment 1 Laura Pardo 2018-03-19 23:30:29 UTC
Created python-bleach tracking bugs for this issue:

Affects: fedora-26 [bug 1558268]


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