CVE-2024-10082: Codechecker Codechecker Authentication Method Confusion Vulnerability Vulnerability

CRITICAL
Advisory Identifier: GHSA-fpm5-2wcj-vfr7
CVSS 8.7
CWE-305
Published
Advisory Summary

CVE-2024-10082 is a CRITICAL (CVSS 8.7) codechecker authentication method confusion vulnerability vulnerability (CWE-305: Authentication Bypass by Primary Weakness) affecting Codechecker libraries in the PyPI ecosystem. The issue involves codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service. Remediation is available by upgrading affected packages to version 6.24.2.

CVE-2024-10082 at a Glance

CVE Identifier CVE-2024-10082
GHSA Identifier GHSA-fpm5-2wcj-vfr7
Severity CRITICAL
CVSS v3.1 Base Score 8.7
CWE Classification CWE-305: Authentication Bypass by Primary Weakness
Affected Product Codechecker
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
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-10082

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-10082, 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-305: Authentication Bypass by Primary Weakness, where the authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. 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 method confusion allows logging in as the built-in root user from an external service. The built-in root user is generated in a weak manner, cannot be disabled, and has universal access. ### Details Until CodeChecker version 6.24.1 there was an auto-generated super-user account that could not be disabled. The attacker needs to know only the username of the root user. This root user is unconditionally assigned superuser permissions. Which means that if any user via any service logs in with the root user's username, they will unconditionally have superuser permissions on the CodeChecker instance. The name of the user name can be found in `root.user` file in the CodeChecker configuration directory. You can check if you are impacted by checking the existence of this user in the external authentication services (e.g. LDAP, PAM etc.). ### Impact This vulnerability allows an attacker who can create an account on an enabled external authentication service, to log in as the root user, and access and control everything that can be controlled via the web interface. The attacker needs to acquire the username of the root user to be successful.

CVE-2024-10082 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-10082?
CVE-2024-10082 is a security vulnerability in Codechecker involving codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service under CWE-305: Authentication Bypass by Primary Weakness.
Which Codechecker versions are affected?
Affected versions include releases prior to 6.24.2 across affected packages: codechecker.
What version fixes CVE-2024-10082?
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-10082?
CVE-2024-10082 has a CVSS v3.1 base score of 8.7 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2024-10082?
CVE-2024-10082 is classified under CWE-305: Authentication Bypass by Primary Weakness (The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.).
How can I check PyPI dependencies for CVE-2024-10082?
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-fpm5-2wcj-vfr7",
  "modified" : "2025-11-15T03:17:21Z",
  "published" : "2024-11-06T15:57:57Z",
  "aliases" : [ "CVE-2024-10082" ],
  "summary" : "codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service",
  "details" : "### Summary\nAuthentication method confusion allows logging in as the built-in root user from an external service. The built-in root user is generated in a weak manner, cannot be disabled, and has universal access. \n\n### Details\nUntil CodeChecker version 6.24.1 there was an auto-generated super-user account that could not be disabled.\nThe attacker needs to know only the username of the root user.\n\nThis root user is unconditionally assigned superuser permissions.\n\nWhich means that if any user via any service logs in with the root user's username, they will unconditionally have superuser permissions on the CodeChecker instance.\n\nThe name of the user name can be found in `root.user` file in the CodeChecker configuration directory.\nYou can check if you are impacted by checking the existence of this user in the external authentication services (e.g. LDAP, PAM etc.).\n\n### Impact\nThis vulnerability allows an attacker who can create an account on an enabled external authentication service, to log in as the root user, and access and control everything that can be controlled via the web interface.\nThe attacker needs to acquire the username of the root user to be successful.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/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"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.24.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Ericsson/codechecker/security/advisories/GHSA-fpm5-2wcj-vfr7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-10082"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Ericsson/codechecker/commit/866f3796d01f3158c49b87ccae3e09c0807c1c7b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Ericsson/codechecker"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/codechecker/PYSEC-2024-183.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-305" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-06T15:57:57Z",
    "nvd_published_at" : "2024-11-06T15:15:11Z"
  }
}