CVE-2017-11480: Github.com/elastic/beats Denial of Service Vulnerability
HIGHCVE-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
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).
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.
Upgrade github.com/elastic/beats to 5.6.4
Upgrade github.com/elastic/beats to 6.0.0
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
CVE-2017-11480 Affected Github.com/elastic/beats Versions
2 component(s)| 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?
Which Github.com/elastic/beats versions are affected?
What version fixes CVE-2017-11480?
Is github.com/elastic/beats affected?
What is the CVSS score of CVE-2017-11480?
What CWE is associated with CVE-2017-11480?
How can I check Go dependencies for CVE-2017-11480?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}