CVE-2023-45363: Mediawiki/core Denial of Service Vulnerability
HIGHCVE-2023-45363 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')) affecting Mediawiki/core libraries in the Packagist ecosystem. The issue involves mediawiki denial of service vulnerability. Remediation is available by upgrading affected packages to version 1.35.12, 1.39.5, 1.40.1.
CVE-2023-45363 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-45363
To remediate this vulnerability, upgrade all affected Mediawiki/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mediawiki/core to 1.35.12
Upgrade mediawiki/core to 1.39.5
Upgrade mediawiki/core to 1.40.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mediawiki/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-45363, inspect your project dependencies for Mediawiki/core:
inspect dependencies for mediawiki/core
Analyze the terminal output to locate any version of Mediawiki/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.35.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop'), where the product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. In Mediawiki/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-45363 Affected Mediawiki/core Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mediawiki/core
|
Packagist |
< 1.35.12
|
1.35.12
|
|
mediawiki/core
|
Packagist |
≥ 1.36.0
< 1.39.5
|
1.39.5
|
|
mediawiki/core
|
Packagist |
≥ 1.40.0
< 1.40.1
All 1 versions
1.40.0
|
1.40.1
|
References
Frequently Asked Questions
What is CVE-2023-45363?
Which Mediawiki/core versions are affected?
What version fixes CVE-2023-45363?
Is mediawiki/core affected?
What is the CVSS score of CVE-2023-45363?
What CWE is associated with CVE-2023-45363?
How can I check Packagist dependencies for CVE-2023-45363?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w5fx-cx7f-6vr9",
"modified" : "2024-10-30T18:06:32Z",
"published" : "2023-10-09T06:30:18Z",
"aliases" : [ "CVE-2023-45363" ],
"summary" : "MediaWiki Denial of Service vulnerability",
"details" : "An issue was discovered in ApiPageSet.php in MediaWiki before 1.35.12, 1.36.x through 1.39.x before 1.39.5, and 1.40.x before 1.40.1. It allows attackers to cause a denial of service (unbounded loop and RequestTimeoutException) when querying pages redirected to other variants with redirects and converttitles set.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.35.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.36.0"
}, {
"fixed" : "1.39.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.40.0"
}, {
"fixed" : "1.40.1"
} ]
} ],
"versions" : [ "1.40.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-45363"
}, {
"type" : "WEB",
"url" : "https://github.com/wikimedia/mediawiki/commit/24c3ef2474c6daa20ed48168d46196a55346dfd8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wikimedia/mediawiki"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2023/11/msg00027.html"
}, {
"type" : "WEB",
"url" : "https://phabricator.wikimedia.org/T333050"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2023/dsa-5520"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-835" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-30T18:06:32Z",
"nvd_published_at" : "2023-10-09T05:15:09Z"
}
}