CVE-2017-11480: Github.com/elastic/beats Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-9q3g-m353-cp4p
CVSS 7.5
CWE-404
Published
Advisory Summary

CVE-2017-11480 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-404: Improper Resource Shutdown or Release) affecting Github.com/elastic/beats libraries in the Go ecosystem. The issue involves denial of service in packetbeat. Remediation is available by upgrading affected packages to version 5.6.4, 6.0.0.

CVE-2017-11480 at a Glance

CVE Identifier CVE-2017-11480
GHSA Identifier GHSA-9q3g-m353-cp4p
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-404: Improper Resource Shutdown or Release
Affected Product Github.com/elastic/beats
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

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

How to Fix CVE-2017-11480

To remediate this vulnerability, upgrade all affected Github.com/elastic/beats 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/elastic/beats fixed: 5.6.4
Upgrade github.com/elastic/beats to 5.6.4
github.com/elastic/beats fixed: 6.0.0
Upgrade github.com/elastic/beats to 6.0.0
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/elastic/beats

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-11480, inspect your project dependencies for Github.com/elastic/beats:

inspect dependencies for github.com/elastic/beats

Analyze the terminal output to locate any version of Github.com/elastic/beats in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.6.4), 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-404: Improper Resource Shutdown or Release, where the product does not release or incorrectly releases a resource before it is made available for re-use. In Github.com/elastic/beats, 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

Packetbeat versions prior to 5.6.4 and 6.0.0 are affected by a denial of service flaw in the PostgreSQL protocol handler. If Packetbeat is listening for PostgreSQL traffic and a user is able to send arbitrary network traffic to the monitored port, the attacker could prevent Packetbeat from properly logging other PostgreSQL traffic.

CVE-2017-11480 Affected Github.com/elastic/beats Versions

2 component(s)
Fixed Versions:
5.6.46.0.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/elastic/beats
Go
< 5.6.4
5.6.4
github.com/elastic/beats
Go
≥ 6.0.0-alpha1
< 6.0.0
6.0.0

References

Frequently Asked Questions

What is CVE-2017-11480?
CVE-2017-11480 is a security vulnerability in Github.com/elastic/beats involving Denial of Service in Packetbeat under CWE-404: Improper Resource Shutdown or Release.
Which Github.com/elastic/beats versions are affected?
Affected versions include releases prior to 5.6.4, 6.0.0 across affected packages: github.com/elastic/beats.
What version fixes CVE-2017-11480?
Upgrading to 5.6.4, 6.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/elastic/beats affected?
Yes, github.com/elastic/beats is affected in releases prior to 5.6.4, 6.0.0. Upgrade your dependency to 5.6.4, 6.0.0 or later.
What is the CVSS score of CVE-2017-11480?
CVE-2017-11480 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-11480?
CVE-2017-11480 is classified under CWE-404: Improper Resource Shutdown or Release (The product does not release or incorrectly releases a resource before it is made available for re-use.).
How can I check Go dependencies for CVE-2017-11480?
Run the dependency tree command: 'inspect dependencies for github.com/elastic/beats'. 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-9q3g-m353-cp4p",
  "modified" : "2023-02-07T22:14:30Z",
  "published" : "2022-02-15T01:57:18Z",
  "aliases" : [ "CVE-2017-11480" ],
  "summary" : "Denial of Service in Packetbeat",
  "details" : "Packetbeat versions prior to 5.6.4 and 6.0.0 are affected by a denial of service flaw in the PostgreSQL protocol handler. If Packetbeat is listening for PostgreSQL traffic and a user is able to send arbitrary network traffic to the monitored port, the attacker could prevent Packetbeat from properly logging other PostgreSQL traffic.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/elastic/beats"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.6.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/elastic/beats"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0-alpha1"
      }, {
        "fixed" : "6.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-11480"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/elastic/beats/pull/5457"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/elastic/beats/pull/5479"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/elastic/beats/pull/5480"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/elastic/beats/commit/aeca65779d573976981587ca1d1461399e1b59dd"
  }, {
    "type" : "WEB",
    "url" : "https://discuss.elastic.co/t/beats-5-6-4-security-update/106739"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/elastic/beats"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2022-0643"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-404" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-19T22:35:34Z",
    "nvd_published_at" : null
  }
}