Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650632 - app-misc/mosquitto-1.4.15 version bump (fixes CVE?)
Summary: app-misc/mosquitto-1.4.15 version bump (fixes CVE?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Rage <oxr463>
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-16 10:17 UTC by Neil Bothwick
Modified: 2018-04-30 01:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-misc-mosquitto-1.4.5.ebuild (mosquitto-1.4.15.ebuild,2.40 KB, text/plain)
2018-03-16 10:17 UTC, Neil Bothwick
Details
New conditional tests patch (mosquitto-1.4.15-conditional-tests.patch,371 bytes, patch)
2018-03-16 10:17 UTC, Neil Bothwick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2018-03-16 10:17:19 UTC
Created attachment 524140 [details]
app-misc-mosquitto-1.4.5.ebuild

I had left this a while for the new proxy maintainer to handle, but as it fixes a couple of CVEs I don't want to leave it any longer. Here is a new ebuild and patch file for the new release.
Comment 1 Neil Bothwick 2018-03-16 10:17:57 UTC
Created attachment 524142 [details, diff]
New conditional tests patch
Comment 2 Jonas Stein gentoo-dev 2018-03-18 14:33:21 UTC
Thank you. Please add a note, which CVE are fixed with this contribution. I could not see any open CVE ticket.
Comment 3 Neil Bothwick 2018-03-18 17:17:26 UTC
According to the changelog, it's CVE-2017-7652.
Comment 4 Rage <oxr463> 2018-04-14 18:20:42 UTC
I apologize for the delay. I pushed v1.4.15 on March 4th, but I was not aware of this bug until yesterday. I will add your changes to mosquitto-1.4.15-r1.ebuild
Comment 5 Larry the Git Cow gentoo-dev 2018-04-14 21:04:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45182783da2fdcb0d34bfeb72a4f9e619254234a

commit 45182783da2fdcb0d34bfeb72a4f9e619254234a
Author:     lramage94 <ramage.lucas@openmailbox.org>
AuthorDate: 2018-04-14 19:13:20 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-04-14 21:03:37 +0000

    app-misc/mosquitto: add patch against CVE-2017-7652.
    
    Bug: https://bugs.gentoo.org/650632
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    Closes: https://github.com/gentoo/gentoo/pull/8003

 .../mosquitto-1.4.15-r1-conditional-tests.patch    |  12 +++
 app-misc/mosquitto/mosquitto-1.4.15-r1.ebuild      | 100 +++++++++++++++++++++
 2 files changed, 112 insertions(+)}
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2018-04-15 23:40:54 UTC
"conditional tests patch" has _nothing_ to do with CVE-2017-7652 in first place.
Comment 7 Neil Bothwick 2018-04-16 06:48:49 UTC
That's right, it was the version bump to 1.4.15 as per my original post. The conditional tests patch is a new version because the old version didn't apply to 1.4.15, that's why I posted a new one along with the ebuild. The in-tree ebuild fails on the patch.
Comment 8 Rage <oxr463> 2018-04-16 13:25:51 UTC
(In reply to Neil Bothwick from comment #7)
> That's right, it was the version bump to 1.4.15 as per my original post. The
> conditional tests patch is a new version because the old version didn't
> apply to 1.4.15, that's why I posted a new one along with the ebuild. The
> in-tree ebuild fails on the patch.

How should I proceed with this? Do we need the patch at all?
Comment 9 Neil Bothwick 2018-04-16 13:49:57 UTC
Yes. I created the patch when I was originally preparing the ebuild in order to proxy maintain it, as suggested by wraeth. Without it some tests may fail under certain USE situations. The patch attached to this bug, and for that matter the whole ebuild, works and fulfils the various suggestions made by wraeth, some of which have been undone in the new ebuild.
Comment 10 Rage <oxr463> 2018-04-16 15:08:40 UTC
(In reply to Neil Bothwick from comment #9)
> Yes. I created the patch when I was originally preparing the ebuild in order
> to proxy maintain it, as suggested by wraeth. Without it some tests may fail
> under certain USE situations. The patch attached to this bug, and for that
> matter the whole ebuild, works and fulfils the various suggestions made by
> wraeth, some of which have been undone in the new ebuild.

Would you like to co-maintain this package with me? I was working with mgorny to update this package and most of the changes were because of QA issues he found.

https://github.com/gentoo/gentoo/pull/7362

Here is the new pull request with some changes that I need to make before resolving this bug

https://github.com/gentoo/gentoo/pull/8027

I hope we can work together!
Comment 11 Neil Bothwick 2018-04-17 06:42:15 UTC
That's interesting because those changes undid changes I was asked to make for QA, it seems the rues have changed. Co-maintaining makes sense.

I see yu have dropped the conditional tests patch entirely, if we use the one attached to this bug it applies fine with 1.4.15.
Comment 12 Larry the Git Cow gentoo-dev 2018-04-30 01:26:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10e73daa7b72d562e006beb77817712dbb606e5

commit a10e73daa7b72d562e006beb77817712dbb606e5
Author:     Lucas Ramage <ramage.lucas@openmailbox.org>
AuthorDate: 2018-04-26 17:19:14 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-04-30 01:26:19 +0000

    app-misc/mosquitto: fix conditional tests for v1.4.15
    
    Closes: https://bugs.gentoo.org/650632
    Closes: https://bugs.gentoo.org/653238
    Closes: https://github.com/gentoo/gentoo/pull/8027
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/mosquitto-1.4.15-conditional-tests.patch |  12 +++
 app-misc/mosquitto/mosquitto-1.4.15-r2.ebuild      | 102 +++++++++++++++++++++
 2 files changed, 114 insertions(+)