Bug 1995202 (CVE-2021-31556) - CVE-2021-31556 mediawiki: OAuth extension doesn't validate length of RSA key
Summary: CVE-2021-31556 mediawiki: OAuth extension doesn't validate length of RSA key
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-31556
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1995203
Blocks: 1995205
TreeView+ depends on / blocked
 
Reported: 2021-08-18 16:02 UTC by Pedro Sampaio
Modified: 2021-08-24 06:00 UTC (History)
11 users (show)

Fixed In Version: mediawiki 1.31.13, mediawiki 1.35.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-23 15:34:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2021-08-18 16:02:12 UTC
An issue was discovered in the Oauth extension for MediaWiki through 1.35.2. MWOAuthConsumerSubmitControl.php does not ensure that the length of an RSA key will fit in a MySQL blob.

References:

https://phabricator.wikimedia.org/T277380
https://gerrit.wikimedia.org/r/q/I13ff0350a9a0a3cd5ab3e1f82dd0d8d9c13cf9e9

Comment 1 Pedro Sampaio 2021-08-18 16:02:34 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 1995203]

Comment 2 Hardik Vyas 2021-08-23 13:58:17 UTC
None of the Red Hat products are affected by this vulnerability, as the Oauth extension is distributed separately for MediaWiki and not included by default in any Red Hat products. 
Patch / code changes can be found at the OAuth extension - https://phabricator.wikimedia.org/rEOAU420a837a2df4c1c61e7efe2c0ac952f548dde2a8

Comment 3 Product Security DevOps Team 2021-08-23 15:34:53 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-31556


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