Vulnerability · Published Jan 17, 2023 · Assigned by jpcert

CVE-2022-47318

High 8.8

In plain English

A high-severity code injection in ruby-git from ruby-git. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.4%top 27.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-git1.13.1-1DEBIAN-CVE-2022-47318
Debian:13ruby-git1.13.1-1DEBIAN-CVE-2022-47318
Debian:14ruby-git1.13.1-1DEBIAN-CVE-2022-47318
RubyGemsgit1.13.0GHSA-pphf-gfrm-v32r
Ubuntu:22.04:LTSruby-gitno fix listedUBUNTU-CVE-2022-47318

Affected products (as reported)

VendorProductVersions
ruby-git ruby-git versions prior to v1.13.0

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References