gix-packetline is vulnerable to Denial of Service (DoS)
65
CVE Score
Medium
Denial of Service (DoS)
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.
Upgrade the gix-packetline library to the patch version.
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.
0.14.2 - 0.21.4
Fixed in 0.21.5gix-packetline is vulnerable to Denial of Service (DoS) in versions 0.14.2 - 0.21.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.