CVE-2010-2235: Cobbler Cobbler Is Vulnerable To Code Vulnerability
HIGHCVE-2010-2235 is a HIGH cobbler is vulnerable to code vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Cobbler libraries in the PyPI ecosystem. The issue involves cobbler is vulnerable to code injection. Remediation is available by upgrading affected packages to version 2.0.7.
CVE-2010-2235 at a Glance
How to Fix CVE-2010-2235
To remediate this vulnerability, upgrade all affected Cobbler 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 cobbler>=2.0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show cobbler
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2010-2235, inspect your installed packages using pip:
pip show cobbler
Analyze the terminal output to locate any version of Cobbler in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.7), your application is affected.
Note: The pip show cobbler command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Cobbler, 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-2010-2235 Affected Cobbler Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cobbler
|
PyPI |
< 2.0.7
|
2.0.7
|
References
Frequently Asked Questions
What is CVE-2010-2235?
Which Cobbler versions are affected?
What version fixes CVE-2010-2235?
Is cobbler affected?
What CWE is associated with CVE-2010-2235?
How can I check PyPI dependencies for CVE-2010-2235?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jhm7-38xj-pvm8",
"modified" : "2023-02-07T18:24:03Z",
"published" : "2022-05-17T05:45:48Z",
"aliases" : [ "CVE-2010-2235" ],
"summary" : "Cobbler is vulnerable to code injection ",
"details" : "template_api.py in Cobbler before 2.0.7, as used in Red Hat Network Satellite Server and other products, does not disable the ability of the Cheetah template engine to execute Python statements contained in templates, which allows remote authenticated administrators to execute arbitrary code via a crafted kickstart template file, a different vulnerability than CVE-2008-6954.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "cobbler"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-2235"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2010:0775"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2010-2235"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=607662"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cobbler/cobbler"
}, {
"type" : "WEB",
"url" : "https://people.fedoraproject.org/~shenson/cobbler/cobbler-2.0.8.tar.gz"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/support/errata/RHSA-2010-0775.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-07T18:24:03Z",
"nvd_published_at" : "2010-12-09T20:00:00Z"
}
}