CVE-2024-10082: Codechecker Codechecker Authentication Method Confusion Vulnerability Vulnerability
CRITICALCVE-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
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).
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.
pip install codechecker>=6.24.2
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
CVE-2024-10082 Affected Codechecker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
codechecker
|
PyPI |
< 6.24.2
|
6.24.2
|
References
Frequently Asked Questions
What is CVE-2024-10082?
Which Codechecker versions are affected?
What version fixes CVE-2024-10082?
Is codechecker affected?
What is the CVSS score of CVE-2024-10082?
What CWE is associated with CVE-2024-10082?
How can I check PyPI dependencies for CVE-2024-10082?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}