CVE-2017-3224

Open Shortest Path First (OSPF) protocol implementations may improperly determine LSA recency in affected Quagga and downstream implementations (SUSE…

No CVSS score yet EPSS 1.06%

Published 24 Jul 2018 Updated 5 Aug 2024 CNA: certcc

Check your servers for CVE-2017-3224

The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2017-3224 affects protocol, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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).

Exploitation

EPSS 1.06%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 64.2% of all scored CVEs. Scores of 27 Nov 2026.

Weakness

  • CWE-354 Improper Validation of Integrity Check Value

Affected products

As the CNA lists them.

ProductVersions
Protocol
unknown N/A

Is my server affected?

Find the installed version of protocol and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i protocol
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-3224 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-3224

RHEL, Rocky, Alma, Fedora

rpm -q protocol
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-3224

Alpine

apk list --installed | grep -i protocol

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2017-3224
trivy image --scanners vuln IMAGE | grep CVE-2017-3224

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.

References

Advisories

  • VU#793496 kb.cert.org · third party advisory

Source: the record CVE-2017-3224 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.