CVE-2022-46648
published high CVSS 3.1 · 8.0ruby-git: code injection vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ruby-git | — | ruby-gitversions prior to v1.13.0 | Affected | Not stated | jpcert |
| Debian | bullseye | ruby-git | Advisory build | 1.7.0-1+deb11u1 | DLA-4406-1 |
| Rocky Linux | 8 | libdb-cxxx86_64 | Listed in advisory | Not stated | RLSA-2023:6818 |
| Debian | buster | ruby-git | Advisory build | 1.2.8-1+deb10u1 | DLA-3303-1 |
| Rocky Linux | 8 | libdb-cxx-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:6818 |
| Rocky Linux | 8 | libdb-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:6818 |
| Rocky Linux | 8 | libdb-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2023:6818 |
| Rocky Linux | 8 | libdb-sql-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:6818 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rocky Linux | 8 | libdb-sql-devel-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:6818 |
| Rocky Linux | 8 | libdb-utils-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:6818 |
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-47318.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ruby-git | ruby-git | versions prior to v1.13.0 (affected) | jpcert · cna |
Weaknesses
2- Code injection
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4- https://github.com/ruby-git/ruby-git
- https://github.com/ruby-git/ruby-git/pull/602
- https://jvn.jp/en/jp/JVN16765254/index.html
- [debian-lts-announce] 20230130 [SECURITY] [DLA 3303-1] ruby-git security update https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html
Provider assertions
3jpcert · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b59c7485a87e6c52c21015ef05a92ea2985694d73a99760501b835df3e128d48
- Ingested
- 23 Sep 2026, 08:03:36 UTC
- Source record
- Official CVE record