CVE Vulnerabilities

CVE-2017-3224

Improper Validation of Integrity Check Value

Published: Jul 24, 2018 | Modified: Nov 21, 2024
CVSS 3.x
8.2
HIGH
Source:
NVD
CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H
CVSS 2.x
4.3 MEDIUM
AV:A/AC:M/Au:N/C:N/I:P/A:P
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
LOW

Open Shortest Path First (OSPF) protocol implementations may improperly determine Link State Advertisement (LSA) recency for LSAs with MaxSequenceNumber. According to RFC 2328 section 13.1, for two instances of the same LSA, recency is determined by first comparing sequence numbers, then checksums, and finally MaxAge. In a case where the sequence numbers are the same, the LSA with the larger checksum is considered more recent, and will not be flushed from the Link State Database (LSDB). Since the RFC does not explicitly state that the values of links carried by a LSA must be the same when prematurely aging a self-originating LSA with MaxSequenceNumber, it is possible in vulnerable OSPF implementations for an attacker to craft a LSA with MaxSequenceNumber and invalid links that will result in a larger checksum and thus a newer LSA that will not be flushed from the LSDB. Propagation of the crafted LSA can result in the erasure or alteration of the routing tables of routers within the routing domain, creating a denial of service condition or the re-routing of traffic on the network. CVE-2017-3224 has been reserved for Quagga and downstream implementations (SUSE, openSUSE, and Red Hat packages).

Weakness

The product does not validate or incorrectly validates the integrity check values or “checksums” of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.

Affected Software

Name Vendor Start Version End Version
Quagga Quagga - (including) - (including)
Quagga Ubuntu artful *
Quagga Ubuntu bionic *
Quagga Ubuntu cosmic *
Quagga Ubuntu disco *
Quagga Ubuntu eoan *
Quagga Ubuntu esm-infra/bionic *
Quagga Ubuntu esm-infra/xenial *
Quagga Ubuntu focal *
Quagga Ubuntu groovy *
Quagga Ubuntu hirsute *
Quagga Ubuntu impish *
Quagga Ubuntu trusty *
Quagga Ubuntu upstream *
Quagga Ubuntu xenial *
Quagga Ubuntu zesty *

Potential Mitigations

References