Debian DLA-3502-1 : python-git - LTS security update

critical Nessus Plugin ID 178781

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3502 advisory.

- All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command.
Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments. (CVE-2022-24439)

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

Solution

Upgrade the python-git packages.

For Debian 10 buster, this problem has been fixed in version 2.1.11-1+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027163

https://security-tracker.debian.org/tracker/source-package/python-git

https://www.debian.org/lts/security/2023/dla-3502

https://security-tracker.debian.org/tracker/CVE-2022-24439

https://packages.debian.org/source/buster/python-git

Plugin Details

Severity: Critical

ID: 178781

File Name: debian_DLA-3502.nasl

Version: 1.0

Type: local

Agent: unix

Published: 7/25/2023

Updated: 7/25/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2022-24439

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:python-git, p-cpe:/a:debian:debian_linux:python-git-doc, p-cpe:/a:debian:debian_linux:python3-git

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/25/2023

Vulnerability Publication Date: 12/6/2022

Reference Information

CVE: CVE-2022-24439