Loading...
Skip to main content

CVE-2022-47318 — Code injection in git — CVE Details

HIGH

Code injection in ruby git

Published January 17, 2023Updated February 19, 2024Source: osv

Summary

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.

Advisory Timeline

  • First published January 17, 2023 (1364 days ago).
  • Last revised February 19, 2024 — 398 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update git to 1.13.0 or later
gem install git -v 1.13.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
git
rubygems
1.0.1, 1.0.2, 1.0.3, 1.0.4 (+28 more)1.13.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.0 score means for each attack dimension.

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

Frequently Asked Questions

What is CVE-2022-47318?
Code injection in ruby git This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.0/10).
How do I check if my project is affected by CVE-2022-47318?
CVE-2022-47318 affects git. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-47318 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.0

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-pphf-gfrm-v32r

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies