CVE-2023-0118
Foreman: arbitrary code execution through templates
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
An arbitrary code execution flaw was found in Foreman. This flaw allows an admin user to bypass safe mode in templates and execute arbitrary code on the underlying operating system.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.4% · top 28% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Weakness
Affected products
foreman
All versions: affected
Red Hat · Red Hat Satellite 6.11 for RHEL 7
- unaffected 0:3.1.1.27-1.el7sat – < *
Red Hat · Red Hat Satellite 6.11 for RHEL 7
- unaffected 0:3.1.1.27-1.el7sat – < *
Red Hat · Red Hat Satellite 6.11 for RHEL 8
- unaffected 0:3.1.1.27-1.el8sat – < *
Red Hat · Red Hat Satellite 6.11 for RHEL 8
- unaffected 0:3.1.1.27-1.el8sat – < *
Red Hat · Red Hat Satellite 6.12 for RHEL 8
- unaffected 0:1.3.8-1.el8sat – < *
Red Hat · Red Hat Satellite 6.13 for RHEL 8
- unaffected 0:1.3.8-1.el8sat – < *
Red Hat · Red Hat Satellite 6.14 for RHEL 8
- unaffected 0:3.7.0.9-1.el8sat – < *
Red Hat · Red Hat Satellite 6.14 for RHEL 8
- unaffected 0:3.7.0.9-1.el8sat – < *
References (6)
- RHSA-2023:4466 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5979 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5980 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:6818 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-0118 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2159291 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-0118)Record last updated .