PT-2023-1239

CVE-2022-23521

·

تاريخ النشر

2023-01-17

·

تاريخ التحديث

2026-09-30

الوصف من

CVSS 3.1
10
حرجة
المقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Git versions prior to 2.30.7
Description The issue is related to the gitattributes mechanism in Git, which allows defining attributes for paths. When parsing gitattributes, multiple integer overflows can occur due to a huge number of path patterns, a huge number of attributes for a single pattern, or huge declared attribute names. These overflows can be triggered via a crafted .gitattributes file, potentially leading to arbitrary heap reads and writes, and may result in remote code execution. The failure mode depends on whether the file exists in the working tree, the index, or both.
Recommendations For Git versions prior to 2.30.7, upgrade to a version published on or after 2023-01-17 to resolve the issue. As a temporary workaround, consider restricting the use of the .gitattributes file until a patch is applied. Avoid using huge numbers of path patterns, attributes for a single pattern, or huge declared attribute names in the .gitattributes file to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-C738-C5QQ-XG89
ALSA-2023:0610
ALSA-2023_0610
ALSA-2023:0611
ALSA-2023_0611
ALT-PU-2023-1067
ALT-PU-2023-1096
ALT-PU-2023-4135
AZL-13024
CESA-2023_0610
CESA-2023_0978
CLEANSTART-2026-GJ10075
DLA-3282-1
DSA-5332-1
MGASA-2023-0033
OESA-2023-1044
OPENSUSE-SU-2023_0108-1
OPENSUSE-SU-2023_0110-1
OPENSUSE-SU-2024:12625-1
RHSA-2023:0596
RHSA-2023:0597
RHSA-2023:0599
RHSA-2023:0609
RHSA-2023:0610
RHSA-2023_0610
RHSA-2023:0611
RHSA-2023_0611
RHSA-2023:0627
RHSA-2023:0628
RHSA-2023:0978
RHSA-2023_0978
RHSA-2023:1677
RLSA-2023:0610
RLSA-2023:0611
ROSA-SA-2023-2130
ROSA-SA-2024-2398
SUSE-SU-2023:0108-1
SUSE-SU-2023_0108-1
SUSE-SU-2023:0109-1
SUSE-SU-2023_0109-1
SUSE-SU-2023:0110-1
SUSE-SU-2023_0110-1
USN-5810-1
USN-5810-2
USN-5810-3
USN-5810-4
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾