CVE-2021-31556 Denial of service in n/a

Critical 9.8 Published Updated

Attackers can cause denial of service by submitting RSA keys too large for the database, affecting MediaWiki OAuth extension users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-31556?

CVE-2021-31556 is a critical denial of service vulnerability in Fedoraproject Fedora, published on 12 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-1284

Which versions are affected by CVE-2021-31556?

1 open source package ship an affected version, including mediawiki. It affects 2 products.

PackageAffectedFixed in
mediawiki BitnamiAll versions1.35.3

Products include Fedoraproject Fedora, Mediawiki Mediawiki.

How do I fix CVE-2021-31556?

Upgrade mediawiki to 1.35.3 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-31556 being exploited?

There is no known exploitation of CVE-2021-31556 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-mediawiki-2021-31556, GHSA-qm9m-9cq9-7p3v.

Is CVE-2021-31556 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free