{
  "document": {
    "aggregate_severity": {
      "text": "High"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/rhel7els/vex/2022/cve-2022-48338-els_os-rhel7els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-04-20T09:21:41Z",
      "generator": {
        "date": "2026-04-20T09:21:41Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2022-48338-ELS_OS-RHEL7ELS",
      "initial_release_date": "2022-01-01T00:00:00Z",
      "revision_history": [
        {
          "date": "2022-01-01T00:00:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-04-16T09:26:14Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2026-04-20T09:21:41Z",
          "number": "3",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "3"
    },
    "title": "Security update on CVE-2022-48338"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "Red-Hat-7",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:redhat:enterprise_linux:7:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          }
        ],
        "category": "vendor",
        "name": "Red Hat, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                "product": {
                  "name": "emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                  "product_id": "emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/emacs-common@24.3-23.el7_9.1.tuxcare.els4?arch=x86_64&epoch=1"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                "product": {
                  "name": "emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                  "product_id": "emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/emacs@24.3-23.el7_9.1.tuxcare.els4?arch=x86_64&epoch=1"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                "product": {
                  "name": "emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                  "product_id": "emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/emacs-nox@24.3-23.el7_9.1.tuxcare.els4?arch=x86_64&epoch=1"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                "product": {
                  "name": "emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                  "product_id": "emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/emacs-terminal@24.3-23.el7_9.1.tuxcare.els4?arch=noarch&epoch=1"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                "product": {
                  "name": "emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                  "product_id": "emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/emacs-el@24.3-23.el7_9.1.tuxcare.els4?arch=noarch&epoch=1"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                "product": {
                  "name": "emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                  "product_id": "emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/emacs-filesystem@24.3-23.el7_9.1.tuxcare.els4?arch=noarch&epoch=1"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64"
        },
        "product_reference": "emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch"
        },
        "product_reference": "emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64"
        },
        "product_reference": "emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch"
        },
        "product_reference": "emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64"
        },
        "product_reference": "emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch"
        },
        "product_reference": "emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
        "relates_to_product_reference": "Red-Hat-7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2022-48338",
      "cwe": {
        "id": "CWE-77",
        "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')"
      },
      "notes": [
        {
          "category": "description",
          "text": "An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        },
        {
          "category": "other",
          "text": "TuxCare has assessed that this vulnerability does not impact any currently supported TuxCare products. This evaluation may change as new information becomes available. For additional details regarding this vulnerability and affected products, refer to the provided references.",
          "title": "Statement"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "Red-Hat-7:emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
          "Red-Hat-7:emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
          "Red-Hat-7:emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
          "Red-Hat-7:emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
          "Red-Hat-7:emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
          "Red-Hat-7:emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2022-48338"
        },
        {
          "category": "external",
          "summary": "https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9a3b08061feea14d6f37685ca1ab8801758bfd1c",
          "url": "https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9a3b08061feea14d6f37685ca1ab8801758bfd1c"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/"
        },
        {
          "category": "external",
          "summary": "https://www.debian.org/security/2023/dsa-5360",
          "url": "https://www.debian.org/security/2023/dsa-5360"
        }
      ],
      "release_date": "2023-02-20T23:15:00Z",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "Red-Hat-7:emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
            "Red-Hat-7:emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
            "Red-Hat-7:emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
            "Red-Hat-7:emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
            "Red-Hat-7:emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
            "Red-Hat-7:emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        },
        {
          "category": "impact",
          "details": "important",
          "product_ids": [
            "Red-Hat-7:emacs-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
            "Red-Hat-7:emacs-common-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
            "Red-Hat-7:emacs-el-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
            "Red-Hat-7:emacs-filesystem-1:24.3-23.el7_9.1.tuxcare.els4.noarch",
            "Red-Hat-7:emacs-nox-1:24.3-23.el7_9.1.tuxcare.els4.x86_64",
            "Red-Hat-7:emacs-terminal-1:24.3-23.el7_9.1.tuxcare.els4.noarch"
          ]
        }
      ]
    }
  ]
}