CVE-2022-46648

Improper Control of Generation of Code ('Code Injection') in gem/git

Identifiers

CVE-2022-46648, GHSA-pfpr-3463-c6jh, GMS-2023-9

Package Slug

gem/git

Vulnerability

Improper Control of Generation of Code ('Code Injection')

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

Affected Versions

All versions before 1.13.0

Solution

Upgrade to version 1.13.0 or above.

Last Modified

2023-01-25

source