CVE-2022-47318
JSON

8.8high

Code injection in ruby git

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.48% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jpcert
Also known as
GHSA-pphf-gfrm-v32r

Description

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-46648.

Affected

Product or packageVersionsReported by
ruby-git ruby-gitversions prior to v1.13.0CVE List
git (RubyGems)before 1.13.0GitHub Advisory Database
ruby-git_project ruby-gitbefore 1.13.0NVD
debian debian_linux10.0NVD
fedoraproject fedora37NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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-46648.

NVD (es)

Las versiones de ruby-git anteriores a v1.13.0 permiten a un atacante remoto autenticado ejecutar un código Ruby arbitrario haciendo que un usuario cargue en el producto un repositorio que contiene un nombre de archivo especialmente manipulado. Esta vulnerabilidad es diferente de CVE-2022-46648.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-47318 changed 2025-04-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-pphf-gfrm-v32r changed 2024-02-19CC-BY-4.0
NVDCVE-2022-47318 changed 2026-06-17Public domain