Bug 1558268 - CVE-2018-7753 python-bleach: URI Scheme Restriction Bypass with character entities [fedora-26]
Summary: CVE-2018-7753 python-bleach: URI Scheme Restriction Bypass with character ent...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bleach
Version: 27
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2018-7753
TreeView+ depends on / blocked
 
Reported: 2018-03-19 23:30 UTC by Laura Pardo
Modified: 2018-04-18 01:22 UTC (History)
4 users (show)

Fixed In Version: python-bleach-2.1.3-1.fc28 python-bleach-2.1.3-1.fc27
Doc Type: Release Note
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-30 12:42:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-03-19 23:30:21 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-26.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

Comment 1 Laura Pardo 2018-03-19 23:30:26 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=1558267,1558268

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Randy Barlow 2018-03-20 14:01:08 UTC
Fedora 26 has bleach 1.5. According to the CHANGES file[0], this problem was introduced in bleach 2.1. IMO that means we don't need to upgrade Fedora 26 for this, especially since going to 2.1.3 would be a backwards-incompatible change.

Thoughts?


[0] https://github.com/mozilla/bleach/blob/v2.1.3/CHANGES

Comment 3 Randy Barlow 2018-03-20 14:05:36 UTC
On the other hand, Fedora 27 is affected by this, though there is an update out for it:

https://bodhi.fedoraproject.org/updates/FEDORA-2018-e38f759144

Comment 4 Laura Pardo 2018-03-20 16:29:44 UTC
Hi Randy!
Fedora 27 is on python-bleach version 2.1.3 which is the version in which this issue was fixed.

Regarding Fedora 26, indeed this was introduced in version 2.1 but backwards incompatibility is beyond my knowledge since I'm not involve in the package development

Comment 5 Randy Barlow 2018-03-21 13:53:53 UTC
Fedora 27 is *almost* on 2.1.3, but it's not been stabilized yet, so stable Fedora 27 is still at 2.1. I will change this ticket to be associated with Fedora 27 since Fedora 26 is not affected and 27 is. Technically Fedora 28 is also affected, though Fedora 28 users have updates-testing enabled by default so for practical purposes it is fixed there. I will also associate those updates with this BZ.

Igor submitted the updates so I will also assign this BZ to him for credit :)

Comment 6 Fedora Update System 2018-03-21 13:54:37 UTC
python-bleach-2.1.3-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e38f759144

Comment 7 Fedora Update System 2018-03-21 13:55:07 UTC
python-bleach-2.1.3-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-994424b810

Comment 8 Fedora Update System 2018-03-30 12:42:13 UTC
python-bleach-2.1.3-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2018-04-18 01:22:24 UTC
python-bleach-2.1.3-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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