Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-17205

An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting ofproto_rule_insert__ in ofproto/ofproto.c. During bundle commit, flows that are added in a bundle are applied to ofproto in order. If a flow cannot be added (e.g., the flow action is a go-to for a group id that does not exist), OvS tries to revert back all previous flows that were successfully applied from the same bundle. This is possible since OvS maintains list of old flows that were replaced by flows from the bundle. While reinserting old flows, OvS has an assertion failure due to a check on rule state != RULE_INITIALIZED. This would work for new flows, but for an old flow the rule state is RULE_REMOVED. The assertion failure causes an OvS crash.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-17205
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:25 UTC · Revision 1

Source evidence

CVE-2018-17205

core-osv · Original source

Published 19 Sept 2018, 16:29 UTC

An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting ofproto_rule_insert__ in ofproto/ofproto.c. During bundle commit, flows that are added in a bundle are applied to ofproto in order. If a flow cannot be added (e.g., the flow action is a go-to for a group id that does not exist), OvS tries to revert back all previous flows that were successfully applied from the same bundle. This is possible since OvS maintains list of old flows that were replaced by flows from the bundle. While reinserting old flows, OvS has an assertion failure due to a check on rule state != RULE_INITIALIZED. This would work for new flows, but for an old flow the rule state is RULE_REMOVED. The assertion failure causes an OvS crash.

osv:CVE-2018-17205
Complete source record
{
  "id": "4290dafdc6aa3959b71cdd9029ceda574c128d45e6c1dc25d9b47b1472e2700b",
  "url": "https://osv.dev/vulnerability/CVE-2018-17205",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-17205",
    "summary": "An issue was discovered in Open vSwitch (OvS) 2.7.x through 2.7.6, affecting ofproto_rule_insert__ in ofproto/ofproto.c. During bundle commit, flows that are added in a bundle are applied to ofproto in order. If a flow cannot be added (e.g., the flow action is a go-to for a group id that does not exist), OvS tries to revert back all previous flows that were successfully applied from the same bundle. This is possible since OvS maintains list of old flows that were replaced by flows from the bundle. While reinserting old flows, OvS has an assertion failure due to a check on rule state != RULE_INITIALIZED. This would work for new flows, but for an old flow the rule state is RULE_REMOVED. The assertion failure causes an OvS crash.",
    "evidence": "osv:CVE-2018-17205",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-17205",
      "aliases": [
        "CVE-2018-17205"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openvswitch/ovs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c298ef781c2d35d939fe163cbc2f41ea7b1cb8d1"
                },
                {
                  "last_affected": "a3830aae25911fef587c08f7301b4665ecc17ae1"
                },
                {
                  "fixed": "0befd1f3745055c32940f5faf9559be6a14395e6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openvswitch:openvswitch:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.7.0"
                      },
                      {
                        "last_affected": "2.7.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0befd1f3745055c32940f5faf9559be6a14395e6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.7.6",
            "v2.7.5",
            "v2.7.4",
            "v2.7.3",
            "v2.7.2",
            "v2.7.1",
            "v2.7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17205.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-17205-521ca786",
                "digest": {
                  "length": 635,
                  "function_hash": "296793816368908415124423156711142915229"
                },
                "source": "https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6",
                "target": {
                  "file": "ofproto/ofproto.c",
                  "function": "OVS_REQUIRES"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-17205-d9dee87d",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "324698912704317781727387435567405361116",
                    "283746464532435123262341333630193130071",
                    "265313777273314482722288888198760625849",
                    "257855558402792822871862028655627297586"
                  ]
                },
                "source": "https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6",
                "target": {
                  "file": "ofproto/ofproto.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:29:20Z"
          }
        }
      ],
      "modified": "2026-10-20T13:29:20.083505637Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:3500",
        "https://access.redhat.com/errata/RHSA-2019:0053",
        "https://access.redhat.com/errata/RHSA-2019:0081",
        "https://usn.ubuntu.com/3873-1/",
        "https://github.com/openvswitch/ovs/commit/0befd1f3745055c32940f5faf9559be6a14395e6"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openstack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10"
                  },
                  {
                    "last_affected": "10"
                  },
                  {
                    "introduced": "13"
                  },
                  {
                    "last_affected": "13"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-17205",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387736,
  "published_at": "2018-09-19T16:29:01.003+00:00"
}