Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-47927

An issue was discovered in MediaWiki before 1.35.9, 1.36.x through 1.38.x before 1.38.5, and 1.39.x before 1.39.1. When installing with a pre-existing data directory that has weak permissions, the SQLite files are created with file mode 0644, i.e., world readable to local users. These files include credentials data.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-47927
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:23 UTC · Revision 1

Source evidence

CVE-2022-47927

core-osv · Original source

Published 12 Jan 2023, 00:00 UTC

An issue was discovered in MediaWiki before 1.35.9, 1.36.x through 1.38.x before 1.38.5, and 1.39.x before 1.39.1. When installing with a pre-existing data directory that has weak permissions, the SQLite files are created with file mode 0644, i.e., world readable to local users. These files include credentials data.

osv:CVE-2022-47927
Complete source record
{
  "id": "f8721b53cdb9e7f75ae82e67b3a778e8eac4f1e85aed1091bb934bc2a5d99507",
  "url": "https://osv.dev/vulnerability/CVE-2022-47927",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-47927",
    "summary": "An issue was discovered in MediaWiki before 1.35.9, 1.36.x through 1.38.x before 1.38.5, and 1.39.x before 1.39.1. When installing with a pre-existing data directory that has weak permissions, the SQLite files are created with file mode 0644, i.e., world readable to local users. These files include credentials data.",
    "evidence": "osv:CVE-2022-47927",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-47927",
      "aliases": [
        "BIT-mediawiki-2022-47927",
        "CVE-2022-47927"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4a804b4950cd62bfbd1991471308e27793ab2a27"
                },
                {
                  "introduced": "bc542ec6d8573dfb906b468901799e0017875f1e"
                },
                {
                  "fixed": "1b1d48cd6fa6d7aed8f8c3fc3e729ba0078152e7"
                },
                {
                  "introduced": "c95fc4786beba034fa643062b98a60ccbde831fd"
                },
                {
                  "last_affected": "c95fc4786beba034fa643062b98a60ccbde831fd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.35.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.36.0"
                      },
                      {
                        "fixed": "1.38.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:1.39.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.39.0-NA"
                      },
                      {
                        "last_affected": "1.39.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.39.0-NA",
            "1.39.0",
            "1.38.4",
            "1.38.3",
            "1.35.8",
            "1.35.7",
            "1.38.2",
            "1.38.1",
            "1.38.0",
            "1.38.0-rc.1",
            "1.38.0-rc.0",
            "1.35.6",
            "1.35.5",
            "1.35.4",
            "1.35.3",
            "1.35.2",
            "1.35.1",
            "1.35.0",
            "1.35.0-rc.3",
            "1.35.0-rc.2",
            "1.35.0-rc.1",
            "1.35.0-rc.0",
            "test-hashar-for-ci",
            "1.6.0",
            "1.5.0beta4",
            "1.5.0beta3",
            "1.5.0beta2",
            "1.5.0beta1",
            "1.5.0alpha2",
            "1.5.0alpha1",
            "1.3.0beta1",
            "1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-47927.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.345732354Z",
      "provider": "osv",
      "references": [
        "https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce%40lists.wikimedia.org/thread/UEMW64LVEH3BEXCJV43CVS6XPYURKWU3/",
        "https://phabricator.wikimedia.org/T322637",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/47xxx/CVE-2022-47927.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AP65YEN762IBNQPOYGUVLTQIDLM5XD2A/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-47927",
        "https://security.gentoo.org/glsa/202305-24",
        "https://lists.debian.org/debian-lts-announce/2023/07/msg00011.html"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/47xxx/CVE-2022-47927.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-47927",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496336,
  "published_at": "2023-01-12T00:00:00+00:00"
}