Advisory

DEBIAN-CVE-2023-49569

Also known as: CVE-2023-49569

Summary

The record has no summary.

Details

A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem. In the worse case scenario, remote code execution could be achieved. Applications are only affected if they are using the ChrootOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#ChrootOS , which is the default when using "Plain" versions of Open and Clone funcs (e.g. PlainClone). Applications using BoundOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#BoundOS  or in-memory filesystems are not affected by this issue. This is a go-git implementation issue and does not affect the upstream git cli.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-01-12 11:15 UTC
Modified
2026-10-26 18:02 UTC

Affected packages and fixes

golang-github-go-git-go-git

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-go-git-go-git

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5.11.0-1 (ecosystem)

Fixed versions

5.11.0-1

Fix

  • Fixed version 5.11.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-go-git-go-git

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 5.11.0-1 (ecosystem)

Fixed versions

5.11.0-1

Fix

  • Fixed version 5.11.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences