An integer underflow in the BGPUpdate.DecodeFromBytes function (/bgp/bgp.go) of gobgp v4.3.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted BGP UPDATE message.
Update github.com/osrg/gobgp/v4 to 4.4.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanGoBGP: Integer underflow in the BGPUpdate.DecodeFromBytes function affects github.com/osrg/gobgp/v4 (go). Severity is high. An integer underflow in the BGPUpdate.DecodeFromBytes function (/bgp/bgp.go) of gobgp v4.3.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted BGP UPDATE message.
AI coding agents often install or upgrade packages automatically in go. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| github.com/osrg/gobgp/v4go | <4.4.0 | 4.4.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
An integer underflow in the BGPUpdate.DecodeFromBytes function (/bgp/bgp.go) of gobgp v4.3.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted BGP UPDATE message.
Update github.com/osrg/gobgp/v4 to 4.4.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanGoBGP: Integer underflow in the BGPUpdate.DecodeFromBytes function affects github.com/osrg/gobgp/v4 (go). Severity is high. An integer underflow in the BGPUpdate.DecodeFromBytes function (/bgp/bgp.go) of gobgp v4.3.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted BGP UPDATE message.
AI coding agents often install or upgrade packages automatically in go. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| github.com/osrg/gobgp/v4go | <4.4.0 | 4.4.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardReported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard