{
  "threat_severity" : "Important",
  "public_date" : "2023-04-19T00:00:00Z",
  "bugzilla" : {
    "description" : "foreman: OS command injection via ct_command and fcct_command",
    "id" : "2140577",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2140577"
  },
  "cvss3" : {
    "cvss3_base_score" : "9.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-78",
  "details" : [ "A command injection flaw was found in foreman. This flaw allows an authenticated user with admin privileges on the foreman instance to transpile commands through CoreOS and Fedora CoreOS configurations in templates, possibly resulting in arbitrary command execution on the underlying operating system.", "A command injection flaw was found in foreman. This flaw allows an authenticated user with admin privileges on the foreman instance to transpile commands through CoreOS and Fedora CoreOS configurations in templates, possibly resulting in arbitrary command execution on the underlying operating system." ],
  "acknowledgement" : "This issue was discovered by Andrew Danau (Onsec.io) and Evgeni Golov (Red Hat).",
  "affected_release" : [ {
    "product_name" : "Red Hat Satellite 6.12 for RHEL 8",
    "release_date" : "2023-10-20T00:00:00Z",
    "advisory" : "RHSA-2023:5979",
    "cpe" : "cpe:/a:redhat:satellite_utils:6.12::el8",
    "package" : "foreman-0:3.3.0.23-1.el8sat"
  }, {
    "product_name" : "Red Hat Satellite 6.13 for RHEL 8",
    "release_date" : "2023-10-19T00:00:00Z",
    "advisory" : "RHSA-2023:5931",
    "cpe" : "cpe:/a:redhat:satellite_utils:6.13::el8",
    "package" : "foreman-0:3.5.1.23-1.el8sat"
  }, {
    "product_name" : "Red Hat Satellite 6.14 for RHEL 8",
    "release_date" : "2023-11-08T00:00:00Z",
    "advisory" : "RHSA-2023:6818",
    "cpe" : "cpe:/a:redhat:satellite_utils:6.14::el8",
    "package" : "foreman-0:3.7.0.9-1.el8sat"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-3874\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-3874" ],
  "name" : "CVE-2022-3874",
  "csaw" : false
}