Advisory

DEBIAN-CVE-2021-30159

Also known as: CVE-2021-30159

Summary

The record has no summary.

Details

An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. Users can bypass intended restrictions on deleting pages in certain "fast double move" situations. MovePage::isValidMoveTarget() uses FOR UPDATE, but it's only called if Title::getArticleID() returns non-zero with no special flags. Next, MovePage::moveToInternal() will delete the page if getArticleID(READ_LATEST) is non-zero. Therefore, if the page is missing in the replica DB, isValidMove() will return true, and then moveToInternal() will unconditionally delete the page if it can be found in the master.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2021-04-09 07:15 UTC
Modified
2026-10-23 18:03 UTC

Affected packages and fixes

mediawiki

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1:1.35.2-1 (ecosystem)

Fixed versions

1:1.35.2-1

Fix

  • Fixed version 1:1.35.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mediawiki

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1:1.35.2-1 (ecosystem)

Fixed versions

1:1.35.2-1

Fix

  • Fixed version 1:1.35.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mediawiki

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:1.35.2-1 (ecosystem)

Fixed versions

1:1.35.2-1

Fix

  • Fixed version 1:1.35.2-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences