Vulnerabilities in pkg:golang/github.com/ovn-org/ovn-kubernetes

PACKAGE
Advisory Identifier: GHSA-57v4-m9jx-mh8r
Advisory Summary

CVE-2021-3499 is a MODERATE (CVSS 5.6) improper input validation vulnerability (CWE-863: Incorrect Authorization) affecting Github.com/ovn org/ovn kubernetes libraries in the Go ecosystem. The issue involves improper input validation. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/ovn-org/ovn-kubernetes

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/ovn-org/ovn-kubernetes. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-57v4-m9jx-mh8r CVE-2021-3499 MODERATE Improper Input Validation

CVE-2021-3499 at a Glance

CVE Identifier CVE-2021-3499
GHSA Identifier GHSA-57v4-m9jx-mh8r
Severity MODERATE
CVSS v3.1 Base Score 5.6
CWE Classification CWE-863: Incorrect Authorization
Affected Product Github.com/ovn org/ovn kubernetes
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2021-3499

To remediate this vulnerability, upgrade all affected Github.com/ovn org/ovn kubernetes dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/ovn-org/ovn-kubernetes fixed: Latest secure release
Upgrade github.com/ovn-org/ovn-kubernetes to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/ovn-org/ovn-kubernetes

How to Check if You Are Affected

To determine whether your application is affected by CVE-2021-3499, inspect your project dependencies for Github.com/ovn org/ovn kubernetes:

inspect dependencies for github.com/ovn-org/ovn-kubernetes

Analyze the terminal output to locate any version of Github.com/ovn org/ovn kubernetes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Github.com/ovn org/ovn kubernetes, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was found in OVN Kubernetes in versions up to and including 0.3.0 where the Egress Firewall does not reliably apply firewall rules when there is multiple DNS rules. It could lead to potentially lose of confidentiality, integrity or availability of a service

CVE-2021-3499 Affected Github.com/ovn org/ovn kubernetes Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/ovn-org/ovn-kubernetes
Go
≤ 0.3.0

References

Frequently Asked Questions

What is CVE-2021-3499?
CVE-2021-3499 is a security vulnerability in Github.com/ovn org/ovn kubernetes involving Improper Input Validation under CWE-863: Incorrect Authorization.
Which Github.com/ovn org/ovn kubernetes versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/ovn-org/ovn-kubernetes.
What version fixes CVE-2021-3499?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/ovn-org/ovn-kubernetes affected?
Yes, github.com/ovn-org/ovn-kubernetes is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2021-3499?
CVE-2021-3499 has a CVSS v3.1 base score of 5.6 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2021-3499?
CVE-2021-3499 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2021-3499?
Run the dependency tree command: 'inspect dependencies for github.com/ovn-org/ovn-kubernetes'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-57v4-m9jx-mh8r",
  "modified" : "2023-02-13T17:29:53Z",
  "published" : "2021-06-08T23:05:19Z",
  "aliases" : [ "CVE-2021-3499" ],
  "summary" : "Improper Input Validation",
  "details" : "A vulnerability was found in OVN Kubernetes in versions up to and including 0.3.0 where the Egress Firewall does not reliably apply firewall rules when there is multiple DNS rules. It could lead to potentially lose of confidentiality, integrity or availability of a service",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/ovn-org/ovn-kubernetes"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-3499"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ovn-org/ovn-kubernetes/pull/2169"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2021:1550"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2021-3499"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1949188"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-28T21:24:52Z",
    "nvd_published_at" : "2021-06-02T16:15:00Z"
  }
}