CVE-2022-47318: Code Injection

Published Jan 10, 2023
·
Updated

ruby-git is a Ruby library that can be used to create, read and operate Git repositories. ruby-git contains multiple code injection vulnerabilities. If a repository containing a specially crafted filename is loaded to the product, an arbitrary ruby code may be executed.

Other sources

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 Software

3 affected components
Ruby-git Project Ruby-git<1.13.0
Debian Debian Linux=10.0
Fedoraproject Fedora=37

Event History

Jan 10, 2023
Data Sourced
via Red Hat·11:26 AM
DescriptionSeverityAffected Software
Jan 17, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-47318?

CVE-2022-47318 has a critical severity rating due to the potential for remote code execution.

2

How do I fix CVE-2022-47318?

To fix CVE-2022-47318, update ruby-git to version 1.13.0 or later.

3

What versions of ruby-git are affected by CVE-2022-47318?

All versions of ruby-git prior to 1.13.0 are affected by CVE-2022-47318.

4

Can CVE-2022-47318 be exploited remotely?

Yes, CVE-2022-47318 can be exploited by a remote authenticated attacker.

5

What platforms are affected by CVE-2022-47318?

CVE-2022-47318 affects ruby-git installations on certain Linux distributions, including Debian 10.0 and Fedora 37.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203