Page MenuHomePhabricator

CVE-2022-31042/CVE-2022-31043/CVE-2022-31090/CVE-2022-31091: Update "guzzlehttp/guzzle" to 6.5.8/7.4.5
Closed, ResolvedPublicBUG REPORT

Description

There is a security issue with "guzzlehttp/guzzle" in version

  • 6.5.6 which is currently bundled with MediaWiki LTS version 1.35 (branch REL1_35)
  • 7.2.0 which is currently bundled with MediaWiki current stable version 1.37 (branch REL1_37)
  • 7.4.1 which is currently bundled with MediaWiki current stable version 1.38 (branch REL1_38)
  • 7.4.1 which is currently bundled with MediaWiki master

See

Both issues are probably not a threat to MediaWiki, given the way the library is used, yet the library should be updated.

See also T309377

Event Timeline

Change 808805 had a related patch set uploaded (by Robert Vogel; author: Robert Vogel):

[mediawiki/core@REL1_35] Update "guzzlehttp/guzzle" to version 6.5.8

https://gerrit.wikimedia.org/r/808805

I have provided patches for REL1_35 (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/808805) and master (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/808806). I can not provide patches to wikimedia/mediawiki-vendor, but I guess this will be done at release time anyways.

I have provided patches for REL1_35 (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/808805) and master (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/808806). I can not provide patches to wikimedia/mediawiki-vendor, but I guess this will be done at release time anyways.

Thanks! The vendor patches need doing so that the patches to the branches can land. I'll do them now.

And it looks like guzzlehttp/psr7 needs some love too...

Change 808807 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@master] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808807

Change 808808 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@REL1_38] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808808

Change 808809 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@REL1_35] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808809

Change 808806 had a related patch set uploaded (by Reedy; author: Robert Vogel):

[mediawiki/core@master] Update "guzzlehttp/guzzle" to version 7.4.5

https://gerrit.wikimedia.org/r/808806

Change 808436 had a related patch set uploaded (by Reedy; author: Robert Vogel):

[mediawiki/core@REL1_38] Update "guzzlehttp/guzzle" to version 7.4.5

https://gerrit.wikimedia.org/r/808436

Change 808808 merged by Reedy:

[mediawiki/vendor@REL1_38] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808808

Change 808809 merged by Reedy:

[mediawiki/vendor@REL1_35] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808809

Change 808807 merged by jenkins-bot:

[mediawiki/vendor@master] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808807

Change 808840 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@REL1_37] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808840

Change 808842 had a related patch set uploaded (by Reedy; author: Robert Vogel):

[mediawiki/core@REL1_37] Update "guzzlehttp/guzzle" to version 7.4.5

https://gerrit.wikimedia.org/r/808842

Change 808436 merged by Reedy:

[mediawiki/core@REL1_38] Update "guzzlehttp/guzzle" to version 7.4.5

https://gerrit.wikimedia.org/r/808436

Change 808806 merged by Reedy:

[mediawiki/core@master] Update "guzzlehttp/guzzle" to version 7.4.5

https://gerrit.wikimedia.org/r/808806

Change 808805 merged by Reedy:

[mediawiki/core@REL1_35] Update "guzzlehttp/guzzle" to version 6.5.8

https://gerrit.wikimedia.org/r/808805

Change 808840 merged by Reedy:

[mediawiki/vendor@REL1_37] Update guzzlehttp/*

https://gerrit.wikimedia.org/r/808840

Change 808842 merged by jenkins-bot:

[mediawiki/core@REL1_37] Update "guzzlehttp/guzzle" to version 7.4.5

https://gerrit.wikimedia.org/r/808842

Reedy renamed this task from Update "guzzlehttp/guzzle" to Update "guzzlehttp/guzzle" to 6.5.8/7.4.5.Jun 27 2022, 12:01 PM
Reedy renamed this task from Update "guzzlehttp/guzzle" to 6.5.8/7.4.5 to CVE-2022-27776: Update "guzzlehttp/guzzle" to 6.5.8/7.4.5.
Reedy closed this task as Resolved.
Reedy claimed this task.
Reedy added a project: Vuln-Misconfiguration.
Reedy removed a project: Patch-For-Review.

JFTR, the mediawiki announcement referred to these under the CVE ID assigned for curl, but in the mean time these got assigned separate CVE IDs for guzzle, I'm renaming the task accordingly.

CVE-2022-31091:
https://github.com/guzzle/guzzle/security/advisories/GHSA-q559-8m2m-g699

CVE-2022-31090:
https://github.com/guzzle/guzzle/security/advisories/GHSA-25mq-v84q-4j7r

MoritzMuehlenhoff renamed this task from CVE-2022-27776: Update "guzzlehttp/guzzle" to 6.5.8/7.4.5 to CVE-2022-31090/CVE-2022-31091: Update "guzzlehttp/guzzle" to 6.5.8/7.4.5.Jul 1 2022, 8:04 AM
MoritzMuehlenhoff renamed this task from CVE-2022-31090/CVE-2022-31091: Update "guzzlehttp/guzzle" to 6.5.8/7.4.5 to CVE-2022-31042/CVE-2022-31043/CVE-2022-31090/CVE-2022-31091: Update "guzzlehttp/guzzle" to 6.5.8/7.4.5.Jul 4 2022, 10:01 AM