Debian dla-4831 : libgit2-1.5 - security update

high Nessus Plugin ID 370004

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 12 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4831 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4831-1 [email protected] https://www.debian.org/lts/security/ Simon Quigley October 12, 2026 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : libgit2 Version : 1.5.1+ds-1+deb12u2 CVE ID : CVE-2026-5917 CVE-2026-53584 CVE-2026-53585 CVE-2026-53586 Debian Bug : 1144465

Multiple security issues were discovered in libgit2, a low-level Git library, which could result in path traversal, denial of service, credential leaks, or the execution of arbitrary commands on an SSH server.

CVE-2026-5917

The repository path was placed unescaped inside single quotes in the command sent to the server over SSH, so a path containing a single quote could execute arbitrary commands on the SSH server.
The path is now escaped.

CVE-2026-53584

Submodule paths read from .gitmodules were not checked for .., so a malicious repository could make submodule lookup, add, init or update operate outside the working tree. Such paths are now rejected.

CVE-2026-53585

Delta application allocated whatever result size the delta header declared, so a small malicious packfile could force huge memory allocations, leading to a denial of service. Objects produced by delta application are now limited to 2 GiB by default; the limit can be changed with GIT_OPT_SET_PACK_MAX_OBJECT_SIZE.

CVE-2026-53586

After an offsite redirect on the initial HTTP request, the credential callback was still given the original URL, so a credential helper could hand the credentials for the original host to the redirect target. The callback now receives the host that is actually being contacted.

For Debian 12 bookworm, these problems have been fixed in version 1.5.1+ds-1+deb12u2.

We recommend that you upgrade your libgit2 packages.

For the detailed security status of libgit2 please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/libgit2

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libgit2-1.5 packages.

See Also

https://packages.debian.org/source/bookworm/libgit2

https://security-tracker.debian.org/tracker/CVE-2026-53584

https://security-tracker.debian.org/tracker/CVE-2026-53585

https://security-tracker.debian.org/tracker/CVE-2026-53586

https://security-tracker.debian.org/tracker/CVE-2026-5917

https://security-tracker.debian.org/tracker/source-package/libgit2

Plugin Details

Severity: High

ID: 370004

File Name: debian_DLA-4831.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 10/21/2026

Updated: 10/21/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.17

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-5917

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-53586

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:libgit2-1.5, p-cpe:/a:debian:debian_linux:libgit2-dev, p-cpe:/a:debian:debian_linux:libgit2-fixtures

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/12/2026

Vulnerability Publication Date: 7/23/2026

Reference Information

CVE: CVE-2026-53584, CVE-2026-53585, CVE-2026-53586, CVE-2026-5917