CVE-2025-1300: Codechecker CodeChecker Open Redirect When URL Vulnerability

MODERATE
Advisory Identifier: GHSA-g839-x3p3-g5fm
CVSS 6.1
CWE-601
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-1300
GHSA Identifier GHSA-g839-x3p3-g5fm
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Codechecker
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

codechecker fixed: 6.24.6
pip install codechecker>=6.24.6
Verify Direct and Transitive Dependencies

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

Summary --- CodeChecker 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. Details --- CodeChecker processes GET requests by first rewriting the path segment of the URL, and then passing the rewritten URL to the webserver framework. When 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..`. Impact --- The vulnerability allows an attacker to create a hyperlink that looks like a legitimate CodeChecker URL, but redirects to an attacker-supplied website when clicked.

CVE-2025-1300 Affected Codechecker Versions

1 component(s)
Fixed Versions:
6.24.6
Product / Package Ecosystem Affected Versions Fixed Version
codechecker
PyPI
< 6.24.6
6.24.6

References

Frequently Asked Questions

What is CVE-2025-1300?
CVE-2025-1300 is a security vulnerability in Codechecker involving CodeChecker open redirect when URL contains multiple slashes after the product name under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Codechecker versions are affected?
Affected versions include releases prior to 6.24.6 across affected packages: codechecker.
What version fixes CVE-2025-1300?
Upgrading to 6.24.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is codechecker affected?
Yes, codechecker is affected in releases prior to 6.24.6. Upgrade your dependency to 6.24.6 or later.
What is the CVSS score of CVE-2025-1300?
CVE-2025-1300 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2025-1300?
CVE-2025-1300 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check PyPI dependencies for CVE-2025-1300?
Run the dependency tree command: 'pip show codechecker'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}