Skip to content

Code injection in ruby git

High severity GitHub Reviewed Published Jan 17, 2023 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

bundler git (RubyGems)

Affected versions

< 1.13.0

Patched versions

1.13.0

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.

References

Published by the National Vulnerability Database Jan 17, 2023
Published to the GitHub Advisory Database Jan 17, 2023
Reviewed Jan 25, 2023
Last updated Feb 1, 2023

Severity

High
8.0
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-47318

GHSA ID

GHSA-pphf-gfrm-v32r

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.