| 标题 | osrg GoBGP 4.3.0 Improper Input Validation |
|---|
| 描述 | A vulnerability was found in osrg GoBGP version 4.3.0. It affects the BGPHeader.DecodeFromBytes function in the pkg/packet/bgp/bgp.go file. The vulnerability is classified as improper input validation because the parser does not validate the 16-byte BGP Marker field. According to RFC 4271, all 16 bytes of the Marker field must be set to 0xFF. However, the current implementation only reads the Length and Type fields from offsets 16 and 18, and does not verify bytes 0-15 at all. As a result, BGP messages with arbitrary Marker values are incorrectly accepted instead of being rejected as malformed. This violates protocol standards and may reduce resilience against malformed or injected traffic on an established TCP session. |
|---|
| 来源 | ⚠️ https://github.com/osrg/gobgp/commit/f0f24a2a901cbf159260698211ab15c583ced131 |
|---|
| 用户 | Sunxj (UID 96442) |
|---|
| 提交 | 2026-03-14 13時00分 (23 日前) |
|---|
| 管理 | 2026-03-30 09時50分 (16 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 354156 [osrg GoBGP 直到 4.3.0 BGP Header pkg/packet/bgp/bgp.go BGPHeader.DecodeFromBytes 权限提升] |
|---|
| 积分 | 20 |
|---|