| Reporter | Title | Published | Views | Family All 280 |
|---|---|---|---|---|
| Security Bulletin: Multiple Vulnerabilities in IBM CloudPak for AIOps | 3 Feb 202522:29 | – | ibm | |
| Amazon Linux 2023 : git, git-all, git-core (ALAS2023-2024-623) | 28 May 202400:00 | – | nessus | |
| Amazon Linux 2 : git (ALAS-2024-2548) | 31 May 202400:00 | – | nessus | |
| Amazon Linux AMI : git (ALAS-2024-1939) | 5 Jun 202400:00 | – | nessus | |
| Alibaba Cloud Linux 3 : 0148: git (ALINUX3-SA-2024:0148) | 14 May 202500:00 | – | nessus | |
| AlmaLinux 9 : git (ALSA-2024:4083) | 25 Jun 202400:00 | – | nessus | |
| AlmaLinux 8 : git (ALSA-2024:4084) | 25 Jun 202400:00 | – | nessus | |
| Debian dla-3844 : git - security update | 26 Jun 202400:00 | – | nessus | |
| Debian dla-3867 : git - security update | 3 Sep 202400:00 | – | nessus | |
| Debian dsa-5769 : git - security update | 13 Sep 202400:00 | – | nessus |
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from ZTE advisory NS-SA-2025-0249. The text
# itself is copyright (C) ZTE, Inc.
##
include('compat.inc');
if (description)
{
script_id(271297);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/10/24");
script_cve_id("CVE-2024-32004", "CVE-2024-32020", "CVE-2024-32021");
script_name(english:"NewStart CGSL MAIN 7.02 : git Multiple Vulnerabilities (NS-SA-2025-0249)");
script_set_attribute(attribute:"synopsis", value:
"The remote NewStart CGSL host is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The remote NewStart CGSL host, running version MAIN 7.02, has git packages installed that are affected by multiple
vulnerabilities:
- Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and
2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary
code during the operation. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2,
2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid cloning repositories from untrusted sources.
(CVE-2024-32004)
- Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and
2.39.4, local clones may end up hardlinking files into the target repository's object database when source
and target repository reside on the same disk. If the source repository is owned by a different user, then
those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local
repositories will cause Git to either copy or hardlink files of the source repository into the target
repository. This significantly speeds up such local clones compared to doing a proper clone and saves
both disk space and compute time. When cloning a repository located on the same disk that is owned by a
different user than the current user we also end up creating such hardlinks. These files will continue to
be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the
future. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and
2.39.4. (CVE-2024-32020)
- Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and
2.39.4, when cloning a local source repository that contains symlinks via the filesystem, Git may create
hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the
`objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary
user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning
a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`),
the optimizations for local cloning will be used, which include attempting to hard link the object files
instead of copying them. While the code includes checks against symbolic links in the source repository,
which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link
operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check,
and then a symlink during the operation, this will allow the adversary to bypass the check and create
hardlinks in the destination objects directory to arbitrary, user-readable files. The problem has been
patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. (CVE-2024-32021)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/notice/NS-SA-2025-0249");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-32004");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-32020");
script_set_attribute(attribute:"see_also", value:"https://security.gd-linux.com/info/CVE-2024-32021");
script_set_attribute(attribute:"solution", value:
"Upgrade the vulnerable CGSL git packages. Note that updated packages may not be available yet. Please contact ZTE for
more information.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:H/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2024-32004");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2024/05/14");
script_set_attribute(attribute:"patch_publication_date", value:"2025/10/23");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/10/24");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-all");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-core");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-core-doc");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-credential-libsecret");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-daemon");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-email");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-gui");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-instaweb");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-p4");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-subtree");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:git-svn");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:gitk");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:gitweb");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:perl-Git");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:zte:cgsl_main:perl-Git-SVN");
script_set_attribute(attribute:"cpe", value:"cpe:/o:zte:cgsl_main:7");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"NewStart CGSL Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info2.nasl");
script_require_keys("Host/local_checks_enabled", "Host/ZTE-CGSL/release", "Host/ZTE-CGSL/rpm-list", "Host/cpu");
exit(0);
}
include('rpm2.inc');
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_release = get_kb_item('Host/ZTE-CGSL/release');
if (isnull(os_release) || os_release !~ "^CGSL (MAIN|CORE)") audit(AUDIT_OS_NOT, 'NewStart Carrier Grade Server Linux');
if (os_release !~ "CGSL\sMAIN\s7\.02")
audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 7.02');
if (!get_kb_item('Host/ZTE-CGSL/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'NewStart Carrier Grade Server Linux', cpu);
var flag = 0;
var pkgs = {
'CGSL MAIN 7.02': [
'git-2.41.0-1.zncgsl7.10',
'git-all-2.41.0-1.zncgsl7.10',
'git-core-2.41.0-1.zncgsl7.10',
'git-core-doc-2.41.0-1.zncgsl7.10',
'git-credential-libsecret-2.41.0-1.zncgsl7.10',
'git-daemon-2.41.0-1.zncgsl7.10',
'git-email-2.41.0-1.zncgsl7.10',
'git-gui-2.41.0-1.zncgsl7.10',
'git-instaweb-2.41.0-1.zncgsl7.10',
'git-p4-2.41.0-1.zncgsl7.10',
'git-subtree-2.41.0-1.zncgsl7.10',
'git-svn-2.41.0-1.zncgsl7.10',
'gitk-2.41.0-1.zncgsl7.10',
'gitweb-2.41.0-1.zncgsl7.10',
'perl-Git-2.41.0-1.zncgsl7.10',
'perl-Git-SVN-2.41.0-1.zncgsl7.10'
]
};
var pkg_list = pkgs[os_release];
var pkg;
foreach (pkg in pkg_list)
if (rpm_check(reference:pkg, release:'ZTE ' + os_release, rpm_spec_vers_cmp:TRUE)) flag++;
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_WARNING,
extra : rpm_report_get()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'git');
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation