]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: address CVE-2017-3224 3819/head
authorChirag Shah <chirag@cumulusnetworks.com>
Sat, 26 Jan 2019 01:21:24 +0000 (17:21 -0800)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 18 Feb 2019 15:00:57 +0000 (16:00 +0100)
commit7791d3deab8f4bbee2ccdd98ea596617536bc681
treeff413bbd018b5f5a9499ea1617d457716fa2ff0e
parent8862b2f86ff7671bc60276c2dd6bf3aa9496c7c3
ospfd: address CVE-2017-3224

Based on the vulnerability mentioned in 793496 an attacker can craft an
LSA with MaxSequence number wtih invalid links and not set age to MAX_AGE
so the lsa would not be flush from the database.

To address the issue, check incoming LSA is MaxSeq but Age is not set
to MAX_AGE 3600, discard the LSA from processing it.
Based on  RFC-2328 , When a LSA update sequence reaches MaxSequence
number, it should be prematurely aged out from the database with age set
to MAX_AGE (3600).

Ticket:CM-18989
Reviewed By:
Testing Done:

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospfd/ospf_packet.c