Intel

AIKIDO-2026-122106

gix-packetline is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-2vh6-hw4j-32ww Published 3 days ago

65

Medium Risk

This Affects:

RUSTgix-packetline
0.14.2 - 0.21.4
Fixed in 0.21.5
Are you affected? Scan for Free

TL;DR

gix-packetline decodes side-band packet lines while a client reads data from a Git remote during fetch or clone. When a side-band line carries only the band-id byte and an empty payload, the trailing-newline handling indexes the payload slice without a length check, causing an unsigned integer underflow and an out-of-bounds access. A malicious or attacker-influenced remote can send such a packet to trigger a panic that aborts the client process, resulting in a pre-authentication, network-triggered denial of service. The fix adds bounds checks so empty side-band payloads are handled as protocol errors instead of panicking.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you clone or fetch from an untrusted or attacker-influenced Git remote.

Background info

gix-packetline is vulnerable to Denial of Service (DoS) in versions 0.14.2 - 0.21.4.

How to fix this

Upgrade the gix-packetline library to the patch version.