CVE-2021-31556
CRITICALCVSS 9.8/10EPSS 1.62%
Last modified
CVE-2021-31556 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.62% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mediawiki | Mediawiki | <= 1.35.2 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
References
- https://gerrit.wikimedia.org/r/q/I13ff0350a9a0a3cd5ab3e1f82dd0d8d9c13cf9e9Patch, Vendor Advisory
- https://phabricator.wikimedia.org/T277380Permissions Required, Vendor Advisory
- https://gerrit.wikimedia.org/r/q/I13ff0350a9a0a3cd5ab3e1f82dd0d8d9c13cf9e9Patch, Vendor Advisory
- https://phabricator.wikimedia.org/T277380Permissions Required, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31556?
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.
How severe is CVE-2021-31556?
CVE-2021-31556 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.62% probability of exploitation in the next 30 days.
How do I fix CVE-2021-31556?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31550An issue was discovered in the CommentBox extension for Medi…5.4
- CVE-2021-31551An issue was discovered in the PageForms extension for Media…6.1
- CVE-2021-31552An issue was discovered in the AbuseFilter extension for Med…5.4
- CVE-2021-31553An issue was discovered in the CheckUser extension for Media…6.5
- CVE-2021-31554An issue was discovered in the AbuseFilter extension for Med…5.4
- CVE-2021-31555An issue was discovered in the Oauth extension for MediaWiki…7.5
- CVE-2021-31558DIAEnergie Version 1.7.5 and prior is vulnerable to stored c…6.1
- CVE-2021-31559A crafted request bypasses S2S TCP Token authentication writ…7.5
- CVE-2021-3156Sudo before 1.9.5p2 contains an off-by-one error that can re…7.8
- CVE-2021-31562The SSL/TLS configuration of Fresenius Kabi Agilia Link + ve…9.1
- CVE-2021-31566An improper link resolution flaw can occur while extracting …7.8
- CVE-2021-31567Authenticated (admin+) Arbitrary File Download vulnerability…6.8
Are you affected by CVE-2021-31556?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
