CVE-2021-40323 in the critical feed json
Cobbler before 3.3.0 allows log poisoning
published 5y ago modified last mo. also GHSA-cpqf-3c3r-c9g2 , PYSEC-2021-373 , EUVD-2021-0044
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 86.8%
- EPSS 86.8% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
Cobbler before 3.3.0 allows log poisoning, and resultant Remote Code Execution, via an XMLRPC method that logs to the logfile for template injection.
Patch / fix
- pypi cobbler 3.3.0
- cobbler Ubuntu Pro 16.04 LTS 2.4.1-0ubuntu2+esm1
ubuntu advisories UBUNTU-CVE-2021-40323
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cobbler Manager Server Module 4.2 3.1.2-5.8.1
- spacecmd Manager Server Module 4.2 4.2.12-4.6.2
- susemanager Manager Server Module 4.2 4.2.22-3.6.1
- spacewalk-web Manager Server Module 4.2 4.2.21-3.6.3
- spacewalk-java Manager Server Module 4.2 4.2.28-3.11.5
- openvpn-formula Manager Server Module 4.2 0.1.2-3.3.1
- spacewalk-setup Manager Server Module 4.2 4.2.8-3.6.1
- spacewalk-utils Manager Server Module 4.2 4.2.13-3.6.1
suse advisories SUSE-SU-2021:3170-1SUSE-RU-2021:3162-1SUSE-SU-2021:3151-1
Is CVE-2021-40323 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-40323 updated cvss 9.1
cobbler: Arbitrary File Disclosure/Template Injection via generate_script RPC method
-
Red Hat Enterprise Linux 8 koan, python3-koannot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
86.83% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template Cobbler <3.3.0 - Remote Code Execution nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | cobbler | <3.3.0 |
3.3.0 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/cobbler/cobbler/commit/d8f60bbf14a838c8c8a1dba98086b223e35fe70a
web, patch, third-party-advisory
-
github.com
/cobbler/cobbler/releases/tag/v3.3.0
web, product, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-40323
advisory
-
github.com
/advisories/GHSA-cpqf-3c3r-c9g2
advisory
-
github.com
/cobbler/cobbler
package
-
github.com
/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2021-373.yaml
web
Sources
- CVE List CVE-2021-40323
- GitHub Advisory GHSA-cpqf-3c3r-c9g2
- NVD CVE-2021-40323
- OSV PYSEC-2021-373
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.