Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-0118

published critical CVSS 3.1 · 9.1

Foreman: arbitrary code execution through templates

Published
20 Sep 2023, 13:39:27 UTC
Updated
17 Sep 2024, 13:51:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Not stated — foreman Affected Not stated redhat
Red Hat — foremanRed Hat Satellite 6.11 for RHEL 7 · 0:3.1.1.27-1.el7sat and later · Other versions: affected Unaffected Not stated redhat
Red Hat — foremanRed Hat Satellite 6.11 for RHEL 7 · 0:3.1.1.27-1.el7sat and later · Other versions: affected Unaffected Not stated redhat
Red Hat — foremanRed Hat Satellite 6.11 for RHEL 8 · 0:3.1.1.27-1.el8sat and later · Other versions: affected Unaffected Not stated redhat
Rocky Linux 8 libdb-cxxx86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-cxx-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-debugsourcex86_64 Listed in advisory Not stated RLSA-2023:6818
Show 8 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — foremanRed Hat Satellite 6.11 for RHEL 8 · 0:3.1.1.27-1.el8sat and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rubygem-safemodeRed Hat Satellite 6.12 for RHEL 8 · 0:1.3.8-1.el8sat and later · Other versions: affected Unaffected Not stated redhat
Red Hat — rubygem-safemodeRed Hat Satellite 6.13 for RHEL 8 · 0:1.3.8-1.el8sat and later · Other versions: affected Unaffected Not stated redhat
Red Hat — foremanRed Hat Satellite 6.14 for RHEL 8 · 0:3.7.0.9-1.el8sat and later · Other versions: affected Unaffected Not stated redhat
Red Hat — foremanRed Hat Satellite 6.14 for RHEL 8 · 0:3.7.0.9-1.el8sat and later · Other versions: affected Unaffected Not stated redhat
Rocky Linux 8 libdb-sql-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-sql-devel-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-utils-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.1 / 10
Severity
critical
Provider
redhat · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
foreman Default: affected redhat · cna
Red Hat Red Hat Satellite 6.11 for RHEL 7 0:3.1.1.27-1.el7sat and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Satellite 6.11 for RHEL 7 0:3.1.1.27-1.el7sat and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Satellite 6.11 for RHEL 8 0:3.1.1.27-1.el8sat and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Satellite 6.11 for RHEL 8 0:3.1.1.27-1.el8sat and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Satellite 6.12 for RHEL 8 0:1.3.8-1.el8sat and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Satellite 6.13 for RHEL 8 0:1.3.8-1.el8sat and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Satellite 6.14 for RHEL 8 0:3.7.0.9-1.el8sat and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Satellite 6.14 for RHEL 8 0:3.7.0.9-1.el8sat and later (unaffected · rpm)Default: affected redhat · cna

Weaknesses

1
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (redhat · cna)

References

6
  • RHSA-2023:4466 https://access.redhat.com/errata/RHSA-2023:4466 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:5979 https://access.redhat.com/errata/RHSA-2023:5979 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:5980 https://access.redhat.com/errata/RHSA-2023:5980 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:6818 https://access.redhat.com/errata/RHSA-2023:6818 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://access.redhat.com/security/cve/CVE-2023-0118 vdb-entry, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHBZ#2159291 https://bugzilla.redhat.com/show_bug.cgi?id=2159291 issue-tracking, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

3

redhat · cna

Foreman: arbitrary code execution through templates

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
7119ca4250b46c7f89cfc865ad0e7bf9e5d2814900b722653d3801d63be10a2a
Ingested
23 Sep 2026, 08:04:58 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected