CVE-2021-31556
NixOS vulnerability analysis and mitigation

Overview

An issue was discovered in the Oauth extension for MediaWiki through 1.35.2. The vulnerability (CVE-2021-31556) involves MWOAuthConsumerSubmitControl.php not ensuring that the length of an RSA key will fit in a MySQL blob (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue is related to improper validation of specified quantity in input (CWE-1284) (NVD).

Impact

Due to the critical CVSS score and the nature of the vulnerability, successful exploitation could potentially lead to unauthorized access and manipulation of the OAuth system in MediaWiki installations. The vulnerability affects the integrity of RSA key storage in MySQL databases (NVD).

Mitigation and workarounds

The vulnerability has been patched in MediaWiki version 1.35.4. Users are advised to upgrade to this version or later. The fix is available through package updates for various distributions including Fedora 33, 34, and 35 (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management