GHSA-6cm4-gm85-972c

Suggest an improvement
Source
https://github.com/advisories/GHSA-6cm4-gm85-972c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-6cm4-gm85-972c/GHSA-6cm4-gm85-972c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6cm4-gm85-972c
Aliases
Published
2022-02-20T00:00:35Z
Modified
2024-09-06T16:01:10.157543Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Command Injection in Cobbler
Details

An issue was discovered in Cobbler through 3.3.0. In the templar.py file, the function checkforinvalid_imports can allow Cheetah code to import Python modules via the "#from MODULE import" substring. (Only lines beginning with #import are blocked.)

Database specific
{
    "nvd_published_at": "2022-02-19T00:15:00Z",
    "cwe_ids": [
        "CWE-77"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-08T18:48:57Z"
}
References

Affected packages

PyPI / cobbler

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.1

Affected versions

0.*

0.6.3-2

3.*

3.1.2
3.2.1
3.2.2
3.3.0