PT-2023-1979

CVE-2023-22490

·

Publicado

2023-02-14

·

Atualizado

2026-09-30

Descrição por

CVSS 3.1
5.5
Média
MétricasAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Git versions prior to 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8
Description The issue is related to Git's handling of symbolic links when using local clone optimization. Although Git aborts local clones if the source $GIT DIR/objects directory contains symbolic links, the objects directory itself can still be a symbolic link. This can be exploited to include arbitrary files from known paths on the victim's filesystem within a malicious repository's working copy, allowing for data exfiltration.
Recommendations To resolve the issue for each affected version, upgrade to version 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, or 2.30.8. If upgrading is impractical, consider the following workarounds:
  • Avoid cloning repositories from untrusted sources with --recurse-submodules.
  • Clone repositories without recursively cloning their submodules, and instead run git submodule update at each layer.
  • Before doing so, inspect each new .gitmodules file to ensure that it does not contain suspicious module URLs.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-3WP6-J8XR-QW85
GHSA-GW92-X3FM-3G3Q
ALSA-2023:3245
ALSA-2023_3245
ALSA-2023:3246
ALSA-2023_3246
ALT-PU-2023-1244
ALT-PU-2023-1291
ALT-PU-2023-4135
CESA-2023_3246
CLEANSTART-2026-YR55229
DLA-3338-1
DSA-5357-1
MGASA-2023-0066
OESA-2023-1120
OPENSUSE-SU-2023_0418-1
OPENSUSE-SU-2023_0430-1
OPENSUSE-SU-2024:12698-1
RHSA-2023:3245
RHSA-2023_3245
RHSA-2023:3246
RHSA-2023_3246
RHSA-2024:0407
RLSA-2023:3246
ROSA-SA-2024-2398
SUSE-SU-2023:0418-1
SUSE-SU-2023:0426-1
SUSE-SU-2023_0426-1
SUSE-SU-2023:0430-1
SUSE-SU-2023_0430-1
USN-5871-1
USN-5871-2
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾