CVE-2024-10081: Codechecker Authentication Bypass Vulnerability

CRITICAL
Advisory Identifier: GHSA-f3f8-vx3w-hp5q
CVSS 10.0
CWE-288
Published
Advisory Summary

CVE-2024-10081 is a CRITICAL (CVSS 10.0) authentication bypass vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Codechecker libraries in the PyPI ecosystem. The issue involves codechecker vulnerable to authentication bypass when using specifically crafted urls. Remediation is available by upgrading affected packages to version 6.24.2.

CVE-2024-10081 at a Glance

CVE Identifier CVE-2024-10081
GHSA Identifier GHSA-f3f8-vx3w-hp5q
Severity CRITICAL
CVSS v3.1 Base Score 10.0
CWE Classification CWE-288: Authentication Bypass Using an Alternate Path or Channel
Affected Product Codechecker
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 10.0

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:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2024-10081

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.2
pip install codechecker>=6.24.2
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-2024-10081, 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.2), 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-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. 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 Authentication bypass occurs when the API URL ends with Authentication, Configuration or ServerInfo. This bypass allows superuser access to all API endpoints other than Authentication. These endpoints include the ability to add, edit, and remove products, among others. ### Details All endpoints, apart from the /Authentication is affected by the vulnerability. The vulnerability allows unauthenticated users to access all API functionality. You can look for the following pattern in the logs to check if the vulnerabilty was exploited: ![image](https://github.com/user-attachments/assets/6ba02231-a3d8-4832-aee6-f96462b7441e) Note that the url starts with v and contains a valid CodeChecker endpoint, but it ends in `Authentication`, `Configuration` or `ServerInfo` and it was made by an `Anonymous` user. ### Impact This authentication bypass allows querying, adding, changing, and deleting Products contained on the CodeChecker server, without authentication, by an anonymous user.

CVE-2024-10081 Affected Codechecker Versions

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

References

Frequently Asked Questions

What is CVE-2024-10081?
CVE-2024-10081 is a security vulnerability in Codechecker involving codechecker vulnerable to authentication bypass when using specifically crafted URLs under CWE-288: Authentication Bypass Using an Alternate Path or Channel.
Which Codechecker versions are affected?
Affected versions include releases prior to 6.24.2 across affected packages: codechecker.
What version fixes CVE-2024-10081?
Upgrading to 6.24.2 (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.2. Upgrade your dependency to 6.24.2 or later.
What is the CVSS score of CVE-2024-10081?
CVE-2024-10081 has a CVSS v3.1 base score of 10.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2024-10081?
CVE-2024-10081 is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel (The product requires authentication, but the product has an alternate path or channel that does not require authentication.).
How can I check PyPI dependencies for CVE-2024-10081?
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-f3f8-vx3w-hp5q",
  "modified" : "2025-11-15T03:17:05Z",
  "published" : "2024-11-06T15:57:08Z",
  "aliases" : [ "CVE-2024-10081" ],
  "summary" : "codechecker vulnerable to authentication bypass when using specifically crafted URLs",
  "details" : "### Summary\nAuthentication bypass occurs when the API URL ends with Authentication, Configuration or ServerInfo. This bypass allows superuser access to all API endpoints other than Authentication. These endpoints include the ability to add, edit, and remove products, among others.\n\n### Details\nAll endpoints, apart from the /Authentication is affected by the vulnerability.\n\nThe vulnerability allows unauthenticated users to access all API functionality.\nYou can look for the following pattern in the logs to check if the vulnerabilty was exploited:\n![image](https://github.com/user-attachments/assets/6ba02231-a3d8-4832-aee6-f96462b7441e)\n\nNote that the url starts with v and contains a valid CodeChecker endpoint, but it ends in `Authentication`, `Configuration` or `ServerInfo` and it was made by an `Anonymous` user.\n\n### Impact\nThis authentication bypass allows querying, adding, changing, and deleting Products contained on the CodeChecker server, without authentication, by an anonymous user.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "codechecker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.24.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Ericsson/codechecker/security/advisories/GHSA-f3f8-vx3w-hp5q"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-10081"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Ericsson/codechecker/commit/ad41702e3108e4b92ae5d0143a5b961cc34195eb"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Ericsson/codechecker"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/codechecker/PYSEC-2024-238.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-288" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-06T15:57:08Z",
    "nvd_published_at" : "2024-11-06T15:15:11Z"
  }
}