gix-packetline is vulnerable to Denial of Service (DoS)
65
Medium Risk
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.
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.
gix-packetline is vulnerable to Denial of Service (DoS) in versions 0.14.2 - 0.21.4.
Upgrade the gix-packetline library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant