[Japanese]

JVNDB-2023-000001

Multiple code injection vulnerabilities in ruby-git

Overview

ruby-git is a Ruby library that can be used to create, read and operate Git repositories. ruby-git contains multiple code injection vulnerabilities (CWE-94).

Yuki Kokubun of DeNA Co., Ltd. reported these vulnerabilities to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V3 Severity:
Base Metrics 5.5 (Medium) [IPA Score]
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low
  • User Interaction: Required
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low
CVSS V2 Severity:
Base Metrics 6.0 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: Single Instance
  • Confidentiality Impact: Partial
  • Integrity Impact: Partial
  • Availability Impact: Partial
Affected Products


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

Impact

If a repository containing a specially crafted filename is loaded to the product, an arbitrary ruby code may be executed.
Solution

[Update the Software]
Update the software to the latest version according to the information provided by the developer.
Vendor Information

ruby-git
CWE (What is CWE?)

  1. Code Injection(CWE-94) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2022-46648
  2. CVE-2022-47318
References

  1. JVN : JVN#16765254
Revision History

  • [2023/01/05]
      Web page was published