CVE-2022-47927
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-47927 is a security vulnerability discovered in MediaWiki before versions 1.35.9, 1.36.x through 1.38.x before 1.38.5, and 1.39.x before 1.39.1. The vulnerability was disclosed on December 22, 2022, and affects the SQLite database file permissions during new installations. This security issue was considered low risk by the MediaWiki security team (Wikimedia Announce).

Technical details

The vulnerability occurs when installing MediaWiki with a pre-existing data directory that has weak permissions. In such cases, the SQLite database files are created with file mode 0644 (world-readable), instead of the more secure 0600 permission. This affects new installations using SQLite as the database system (Phabricator).

Impact

The vulnerability allows local users on a shared host system to read the SQLite database files, potentially exposing sensitive information including password hashes, session information, IP addresses (if checkuser is installed), unencrypted 2FA codes, user preferences, deleted pages, and other private data stored in the database (Phabricator).

Mitigation and workarounds

The issue has been fixed in MediaWiki versions 1.35.9, 1.38.5, and 1.39.1. For existing installations using SQLite on shared hosts, users should check the file permissions of their database files and modify them to prevent them from being readable by everyone. The fix ensures that new SQLite database files are created with proper permissions (Wikimedia Announce).

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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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