Debian dla-3277 : powerline-gitstatus - security update

high Nessus Plugin ID 170459

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-3277 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-3277-1 [email protected] https://www.debian.org/lts/security/ Markus Koschany January 20, 2023 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : powerline-gitstatus Version : 1.3.2-0+deb10u1 CVE ID : CVE-2022-42906

Powerline Gitstatus, a status line plugin for the VIM editor, allows arbitrary code execution. Git repositories can contain per-repository configuration that changes the behavior of git, including running arbitrary commands. When using powerline-gitstatus, changing to a directory automatically runs git commands in order to display information about the current repository in the prompt. If an attacker can convince a user to change their current directory to one controlled by the attacker, such as in a shared filesystem or extracted archive, powerline-gitstatus will run arbitrary commands under the attacker's control.

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

We recommend that you upgrade your powerline-gitstatus packages.

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

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 Attachment:
signature.asc Description: This is a digitally signed message part

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

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 powerline-gitstatus packages.

See Also

http://www.nessus.org/u?356d7b2f

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

https://packages.debian.org/source/buster/powerline-gitstatus

Plugin Details

Severity: High

ID: 170459

File Name: debian_DLA-3277.nasl

Version: 1.2

Type: local

Agent: unix

Published: 1/24/2023

Updated: 1/22/2025

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: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2022-42906

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:python3-powerline-gitstatus, p-cpe:/a:debian:debian_linux:powerline-gitstatus

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: 1/20/2023

Vulnerability Publication Date: 10/13/2022

Reference Information

CVE: CVE-2022-42906