{
  "threat_severity" : "Moderate",
  "public_date" : "2023-02-21T00:00:00Z",
  "bugzilla" : {
    "description" : "emacs: command injection vulnerability in htmlfontify.el",
    "id" : "2171989",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2171989"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-77",
  "details" : [ "An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.", "A flaw was found in the Emacs package. If a file name or directory name contains shell metacharacters, arbitrary code may be executed." ],
  "statement" : "This vulnerability is only triggered when a local user introduces untrusted input, via a file or directory with a crafted name. For this reason, this flaw has been rated with a Moderate security impact.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2023-06-06T00:00:00Z",
    "advisory" : "RHSA-2023:3481",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "emacs-1:24.3-23.el7_9.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-11-14T00:00:00Z",
    "advisory" : "RHSA-2023:7083",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "emacs-1:26.1-11.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-11-14T00:00:00Z",
    "advisory" : "RHSA-2023:7083",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "emacs-1:26.1-11.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support",
    "release_date" : "2024-03-05T00:00:00Z",
    "advisory" : "RHSA-2024:1103",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.6",
    "package" : "emacs-1:26.1-7.el8_6.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2024-03-19T00:00:00Z",
    "advisory" : "RHSA-2024:1408",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.8",
    "package" : "emacs-1:26.1-10.el8_8.4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2626",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "emacs-1:27.2-8.el9_2.1"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "emacs",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-48339\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-48339" ],
  "name" : "CVE-2022-48339",
  "csaw" : false
}