Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:40492
HistoryMay 12, 2023 - 5:58 p.m.

Remote Code Execution (RCE)

2023-05-1217:58:59
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
13
git
vulnerability
remote code execution
config.c
git_config_copy_or_rename_section_in_file
malicious config

0.004 Low

EPSS

Percentile

75.0%

Git is vulnerable to Remote Code Execution (RCE). The vulnerability exists in the config.c::git_config_copy_or_rename_section_in_file() function, allowing an attacker to inject and execute malicious config to $GIT_DIR/config when attempting to remove the configuration section associated with that submodule which specifies executables to run such as core.pager, core.editor, core.sshCommand commands through the URLs that are longer than 1024 characters.