Alpine: multiple libgit2 packages: security update to 1.5.1-r0

medium Tenable Self-Hosted Container Security Plugin ID 405197

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the
optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of
libgit2 require the caller to set the `certificate_check` field of libgit2's `git_remote_callbacks`
structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking.
This means that by default - without configuring a certificate check callback, clients will not perform
validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged
to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are
manually checked. (CVE-2023-22742)

See Also

https://security.alpinelinux.org/vuln/CVE-2023-22742

Plugin Details

Severity: Medium

ID: 405197

Version: Revision 1.33

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

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

CVSS Score Source: CVE-2023-22742

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 1/20/2023

Reference Information

CVE: CVE-2023-22742