Submit #610193: NTT Open Source GoBGP defe9ac1b1f1c854d1941a5b70dee3aaed6fb960 Out-of-Bounds Readinfo

TitelNTT Open Source GoBGP defe9ac1b1f1c854d1941a5b70dee3aaed6fb960 Out-of-Bounds Read
BeschreibungWe recently identified a bug in the latest version of the GoBGP project. In pkg/packet/rtr/rtr.go, a panic is triggered on line 393 in the ParseRTR function due to an out-of-bounds access of data[1]. The root cause appears to be on line 366, where the function accesses data[1] without checking that the input length is at least 2 bytes. When a 1-byte input is processed, this leads to a runtime panic. The developer already fixed it in this commit: https://github.com/osrg/gobgp/tree/e748f43496d74946d14fed85c776452e47b99d64
Benutzer
 CyberGym (UID 87553)
Einreichung06.07.2025 22:53 (vor 1 Jahr)
Moderieren11.07.2025 13:50 (5 days later)
StatusAkzeptiert
VulDB Eintrag316116 [osrg GoBGP bis 3.37.0 pkg/packet/rtr/rtr.go SplitRTR Information Disclosure]
Punkte17

Do you want to use VulDB in your project?

Use the official API to access entries easily!