CVEfocus › CVE database › CVE-2022-46648

CVE-2022-46648

CVSS 8.0 HighEPSS 1.5% (higher than 74% of CVEs)Published 2023-01-17Updated 2025-04-04Assigner: jpcert

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.

CWE-94

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
5Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04ruby-gitNot affected
vulnerable_code_not_present
Ubuntu 25.10ruby-gitNot affected
vulnerable_code_not_present
Ubuntu 24.04ruby-gitNot affected
vulnerable_code_not_present
Ubuntu 22.04ruby-gitFix pendingUBUNTU-CVE-2022-46648
Ubuntu 20.04ruby-gitFix pendingUBUNTU-CVE-2022-46648
Ubuntu 18.04ruby-gitFix pendingUBUNTU-CVE-2022-46648
Ubuntu 16.04ruby-gitFix pendingUBUNTU-CVE-2022-46648
Ubuntu 14.04ruby-gitFix pending
Debian 14ruby-gitFixed1.13.1-1DEBIAN-CVE-2022-46648
Debian 13ruby-gitFixed1.13.1-1DEBIAN-CVE-2022-46648
Debian 12ruby-gitFixed1.13.1-1DEBIAN-CVE-2022-46648
RubyGems librarygitFixed1.13.0GHSA-pfpr-3463-c6jh

What the vendor says

As published in the CVE record by jpcert, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.