CVE-2022-46648
highpriority · track · 32EPSS 0.014 · 71 %ileDEEURUUSEPSS · scored 2026-10-27
ruby-git versions prior to v1.13.0 allows a remote authenticated attacker to execute an arbitrary ruby code by having a user to load a repository containing a specially crafted filename to the product. This vulnerability is different from CVE-2022-47318.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (67)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux Container Native Virtualization 4.14all versionscert_bundDEcpe:/o:redhat:enterprise_linux:container_native_virtualization_4.14
- Red Hat OpenShift Container Platform 4.11all versionscert_bundDEcpe:/a:redhat:openshift:container_platform_4.11
- Red Hat OpenShift Container Platform 4.12all versionscert_bundDEcpe:/a:redhat:openshift:container_platform_4.12
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2723Red Hat Satellite: Mehrere SchwachstellenDeutsch2023-10-22csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Red Hat Satellite ausnutzen, um beliebigen Programmcode auszuführen oder einen Denial of Service Zustand herbeizuführen.
- GHSA-pfpr-3463-c6jhruby-git has potential remote code execution vulnerability2023-01-09ghsa · osvUS
The git gem, between versions 1.2.0 and 1.12.0, incorrectly parsed the output of the `git ls-files` command using `eval()` to unescape quoted file names. If a file name was added to the git repository contained special characters, such as `\n`, then the `git ls-files` command would print the file name in quotes and escape any special characters. If the `Git#ls_files` method encountered a quoted file name it would use `eval()` to unquote and unescape any special characters, leading to potential remote code execution. Version 1.13.0 of the git gem was released which correctly parses any quoted file names.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-46648/cnnvd
- https://github.com/ruby-git/ruby-git/pull/602cnnvd
- https://jvn.jp/en/jp/JVN16765254/index.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlcnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.0580cnnvd
- https://github.com/ruby-git/ruby-gitenisa_euvd
- https://github.com/ruby-git/ruby-git/pull/602enisa_euvd
- https://jvn.jp/en/jp/JVN16765254/index.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan