Description
FRRouting before 10.5.3 contains an integer overflow vulnerability in seven OSPF Traffic Engineering and Segment Routing TLV parser functions where a uint16_t accumulator variable truncates uint32_t values returned by the TLV_SIZE() macro, causing the loop termination condition to fail while pointer advancement continues unchecked. Attackers with an established OSPF adjacency can send a crafted LS Update packet with a malicious Type 10 or Type 11 Opaque LSA to trigger out-of-bounds memory reads and crash all affected routers in the OSPF area or autonomous system.
Problem types
CWE-190: Integer Overflow or Wraparound
Product status
Any version
Credits
Kazuma Matsumoto, a security researcher at GMO Cybersecurity by IERAE, Inc.
VulnCheck
References
github.com/FRRouting/frr/releases/tag/frr-10.5.3
github.com/FRRouting/frr/pull/21002
github.com/...ommit/f098decf02987fbf1c891766c1516ac832adadfd
www.vulncheck.com/...r-overflow-in-ospf-tlv-parser-functions