CVE-2022-47318
Advisory lineage Upstream: 0 Downstream: 9
Modified
Published: 17 Jan 2023, 00:00
Last modified:04 Apr 2025, 15:54
Vulnerability Summary
Overall Risk (default)
medium
35/100 CVSS Score
8.8 HIGH
v3.1 (cve.org)
EPSS Score
0.46% LOW
0% probability -0.15%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
17 Jan 2023, 00:00
Published
Vulnerability first disclosed
04 Apr 2025, 15:54
Last Modified
Vulnerability information updated
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-46648.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v3.1•HIGH•Score: 8CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.46%• Percentile: 65%
Techniques & Countermeasures
- CWE-94•Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected Systems
- debian•debian_linux
10.0
- fedoraproject•fedora
37
- ruby-git_project•ruby-git
< 1.13.0
- ruby-git•ruby-git
versions prior to v1.13.0
References (5)
- https://github.com/ruby-git/ruby-git
- https://github.com/ruby-git/ruby-git/pull/602
- https://jvn.jp/en/jp/JVN16765254/index.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KPFLSZPUM7APWVBRM5DCAY5OUVQBF4K/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html