Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-30159

published

mediawiki: users can bypass intended restrictions on deleting pages in certain "fast double move" situations

Title from Red Hat VEX

Published
09 Apr 2021, 06:12:55 UTC
Updated
03 Aug 2024, 22:24:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Debian buster mediawiki Advisory build 1:1.31.14-1~deb10u1 DSA-4889-1
Debian stretch mediawiki Advisory build 1:1.27.7-1~deb9u8 DLA-2648-1

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

7
  • [debian-lts-announce] 20210505 [SECURITY] [DLA 2648-1] mediawiki security update https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html mailing-list, x_refsource_MLIST, x_transferred Contributors: mitre (cna), CVE (adp)
  • [debian-lts-announce] 20210506 [SECURITY] [DLA 2648-2] mediawiki regression update https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html mailing-list, x_refsource_MLIST, x_transferred Contributors: mitre (cna), CVE (adp)
  • FEDORA-2021-f4223b6684 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/26UJGHF7LJDOCQN6A3Z4PM7PYRKENJHE/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: mitre (cna), CVE (adp)
  • FEDORA-2021-d298103d3a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2OMSV7B2TCFBOCICN3B4SMQP5HVRJQIT/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://phabricator.wikimedia.org/T272386 x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)
  • GLSA-202107-40 https://security.gentoo.org/glsa/202107-40 vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-4889 https://www.debian.org/security/2021/dsa-4889 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
1d73520c976f4cac16759a94a94b460e92260fb25b739ac71127cba21d1a50a9
Ingested
23 Sep 2026, 07:54:09 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected