Bug 1517312 - CVE-2017-16931 rubygem-nokogiri: libxml2: Mishandling parameter-entity references [fedora-all]
Summary: CVE-2017-16931 rubygem-nokogiri: libxml2: Mishandling parameter-entity refere...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-nokogiri
Version: 27
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2017-16931
TreeView+ depends on / blocked
 
Reported: 2017-11-24 15:28 UTC by Adam Mariš
Modified: 2017-12-01 15:15 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-01 15:15:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-11-24 15:28:46 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-all.

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.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Adam Mariš 2017-11-24 15:28:52 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=1517307,1517312

# 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 Mamoru TASAKA 2017-11-24 17:00:46 UTC
Again, rubygem-nokogiri as shipped on Fedora links against libxml2, not bundles it.

https://bugzilla.redhat.com/show_bug.cgi?id=1046663#c2
https://koji.fedoraproject.org/koji/rpminfo?rpmID=11407672
https://src.fedoraproject.org/rpms/rubygem-nokogiri/blob/master/f/rubygem-nokogiri.spec#_145

Would you check this?

Comment 3 Mamoru TASAKA 2017-11-24 17:03:34 UTC
> https://bugzilla.redhat.com/show_bug.cgi?id=1046663#c2

This one was for JRuby support, however anyway Fedora rubygem-nokogiri does not bundle libxml2. Please check this.

Comment 4 Adam Mariš 2017-12-01 15:15:51 UTC
(In reply to Mamoru TASAKA from comment #2)
> Again, rubygem-nokogiri as shipped on Fedora links against libxml2, not
> bundles it.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1046663#c2
> https://koji.fedoraproject.org/koji/rpminfo?rpmID=11407672
> https://src.fedoraproject.org/rpms/rubygem-nokogiri/blob/master/f/rubygem-
> nokogiri.spec#_145
> 
> Would you check this?

You're right! Thanks for checking.


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