CVE-2025-1300: Codechecker CodeChecker Open Redirect When URL Vulnerability
MODERATECVE-2025-1300 is a MODERATE (CVSS 6.1) codechecker open redirect when url vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Codechecker libraries in the PyPI ecosystem. The issue involves codechecker open redirect when url contains multiple slashes after the product name. Remediation is available by upgrading affected packages to version 6.24.6.
CVE-2025-1300 at a Glance
Security Impact
CVSS: 6.1
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:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2025-1300
To remediate this vulnerability, upgrade all affected Codechecker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install codechecker>=6.24.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show codechecker
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-1300, inspect your installed packages using pip:
pip show codechecker
Analyze the terminal output to locate any version of Codechecker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.24.6), your application is affected.
Note: The pip show codechecker command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Codechecker, 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-2025-1300 Affected Codechecker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
codechecker
|
PyPI |
< 6.24.6
|
6.24.6
|
References
Frequently Asked Questions
What is CVE-2025-1300?
Which Codechecker versions are affected?
What version fixes CVE-2025-1300?
Is codechecker affected?
What is the CVSS score of CVE-2025-1300?
What CWE is associated with CVE-2025-1300?
How can I check PyPI dependencies for CVE-2025-1300?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g839-x3p3-g5fm",
"modified" : "2025-03-03T19:53:16Z",
"published" : "2025-03-03T19:53:16Z",
"aliases" : [ "CVE-2025-1300" ],
"summary" : "CodeChecker open redirect when URL contains multiple slashes after the product name",
"details" : "Summary\n---\n\nCodeChecker versions up to 6.24.5 contain an open redirect vulnerability due to missing protections against multiple slashes after the product name in the URL's path segment. This results in bypassing protections against CVE-2021-28861, leading to the same open redirect pathway.\n\nDetails\n---\n\nCodeChecker processes GET requests by first rewriting the path segment of the URL, and then passing the rewritten URL to the webserver framework.\nWhen trimming the product name from the URL, no sanitization was performed on the remaining URL, which reintroduced the same issue as CVE-2021-28861, leading to the same open redirect pathway using URLs such as `/Default//attacker.com/%2f..`.\n\nImpact\n---\n\nThe vulnerability allows an attacker to create a hyperlink that looks like a legitimate CodeChecker URL, but redirects to an attacker-supplied website when clicked.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "codechecker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.24.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.24.5"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Ericsson/codechecker/security/advisories/GHSA-g839-x3p3-g5fm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1300"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Ericsson/codechecker"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-03T19:53:16Z",
"nvd_published_at" : "2025-02-28T13:15:27Z"
}
}