Git 2.13.x, 2.14.x, 2.15.x, 2.16.x, 2.17.x Multiple Vulnerabilities - Windows
🗓️ 31 May 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType
openvas🔗 plugins.openvas.org👁 48 Views
10
# SPDX-FileCopyrightText: 2018 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if( description )
{
script_oid("1.3.6.1.4.1.25623.1.0.113205");
script_version("2024-02-15T05:05:40+0000");
script_tag(name:"last_modification", value:"2024-02-15 05:05:40 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2018-05-31 14:37:56 +0200 (Thu, 31 May 2018)");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2020-05-02 00:15:00 +0000 (Sat, 02 May 2020)");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
script_cve_id("CVE-2018-11233", "CVE-2018-11235");
script_name("Git 2.13.x, 2.14.x, 2.15.x, 2.16.x, 2.17.x Multiple Vulnerabilities - Windows");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("General");
script_dependencies("gb_git_detect_win.nasl");
script_mandatory_keys("Git/Win/Ver");
script_tag(name:"summary", value:"Git is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The following vulnerabilities exist:
- Code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory
- With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs
'git clone --recurse-submodules' because submodule 'names' are obtained from this file, and then appended
to $GIT_DIR/modules, leading to directory traversal with '../' in a name.
Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks
are not obtained from a remote server (Remote Code Execution can occur)");
script_tag(name:"affected", value:"Git versions through 2.13.6, 2.14.0 through 2.14.3, 2.15.0 through 2.15.1, 2.16.0 through 2.16.3 and 2.17.0.");
script_tag(name:"solution", value:"Update to version 2.13.7, 2.14.4, 2.15.2, 2.16.4 or 2.17.1 respectively.");
script_xref(name:"URL", value:"https://marc.info/?l=git&m=152761328506724&w=2");
script_xref(name:"URL", value:"https://securitytracker.com/id/1040991");
script_xref(name:"URL", value:"https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/");
exit(0);
}
CPE = "cpe:/a:git_for_windows_project:git_for_windows";
include( "host_details.inc" );
include( "version_func.inc" );
if( ! port = get_app_port( cpe: CPE ) ) exit( 0 );
if( ! version = get_app_version( cpe: CPE, port: port ) ) exit( 0 );
if( version_is_less( version: version, test_version: "2.13.7" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "2.13.7" );
security_message( data: report, port: port );
exit( 0 );
}
if( version_in_range( version: version, test_version: "2.14.0", test_version2: "2.14.3" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "2.14.4" );
security_message( data: report, port: port );
exit( 0 );
}
if( version_in_range( version: version, test_version: "2.15.0", test_version2: "2.15.1" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "2.15.2" );
security_message( data: report, port: port );
exit( 0 );
}
if( version_in_range( version: version, test_version: "2.16.0", test_version2: "2.16.3" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "2.16.4" );
security_message( data: report, port: port );
exit( 0 );
}
if( version_is_equal( version: version, test_version: "2.17.0" ) ) {
report = report_fixed_ver( installed_version: version, fixed_version: "2.17.1" );
security_message( data: report, port: port );
exit( 0 );
}
exit( 99 );
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
15 Feb 2024 00:00Current
8.1High risk
Vulners AI Score8.1
CVSS 25
CVSS 37.5
EPSS0.04499