frr icon indicating copy to clipboard operation
frr copied to clipboard

ospf6d: Prevent heap-buffer-overflow with unknown type

Open donaldsharp opened this issue 1 year ago • 3 comments

When parsing a osf6 grace lsa field and we receive an unknown tlv type, ospf6d was not incrementing the pointer to get beyond the tlv. Leaving a situation where ospf6d would parse the packet incorrectly.

donaldsharp avatar May 30 '24 12:05 donaldsharp

@Mergifyio backport stable/10.0 stable/9.1 stable/9.0 stable/8.5 stable/8.4

ton31337 avatar May 30 '24 12:05 ton31337

backport stable/10.0 stable/9.1 stable/9.0 stable/8.5 stable/8.4

✅ Backports have been created

mergify[bot] avatar May 30 '24 12:05 mergify[bot]

I put this in do not merge mode because I wanted the original author to take a look at it and make sure things were right from their perspective. Once I get an update from the original author I will either update the PR or remove the do not merge tag.

donaldsharp avatar May 30 '24 14:05 donaldsharp

Removing do not merge and preliminary labels. This is good to go

donaldsharp avatar May 31 '24 14:05 donaldsharp