Vulnerabilities in pkg:gem/logstash-core

PACKAGE
Advisory Identifier: GHSA-3gg4-6hqg-2vjx
Advisory Summary

CVE-2016-10362 is a MODERATE (CVSS 6.5) logstash logs sensitive information vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Logstash core libraries in the RubyGems ecosystem. The issue involves logstash logs sensitive information. Remediation is available by upgrading affected packages to version 5.0.1.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/logstash-core

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/logstash-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3gg4-6hqg-2vjx CVE-2016-10362 MODERATE Logstash Logs Sensitive Information
GHSA-vcmm-ppqx-95ch CVE-2016-1000221 HIGH Logstash Logs Sensitive Information

CVE-2016-10362 at a Glance

CVE Identifier CVE-2016-10362
GHSA Identifier GHSA-3gg4-6hqg-2vjx
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Logstash core
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2016-10362

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

logstash-core fixed: 5.0.1
Upgrade logstash-core to 5.0.1
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 logstash-core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2016-10362, inspect your project dependencies for Logstash core:

inspect dependencies for logstash-core

Analyze the terminal output to locate any version of Logstash core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.1), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Logstash core, 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

Prior to Logstash version 5.0.1, Elasticsearch Output plugin when updating connections after sniffing, would log to file HTTP basic auth credentials.

CVE-2016-10362 Affected Logstash core Versions

1 component(s)
Fixed Versions:
5.0.1
Product / Package Ecosystem Affected Versions Fixed Version
logstash-core
RubyGems
< 5.0.1
5.0.1

References

Frequently Asked Questions

What is CVE-2016-10362?
CVE-2016-10362 is a security vulnerability in Logstash core involving Logstash Logs Sensitive Information under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Logstash core versions are affected?
Affected versions include releases prior to 5.0.1 across affected packages: logstash-core.
What version fixes CVE-2016-10362?
Upgrading to 5.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is logstash-core affected?
Yes, logstash-core is affected in releases prior to 5.0.1. Upgrade your dependency to 5.0.1 or later.
What is the CVSS score of CVE-2016-10362?
CVE-2016-10362 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2016-10362?
CVE-2016-10362 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check RubyGems dependencies for CVE-2016-10362?
Run the dependency tree command: 'inspect dependencies for logstash-core'. 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-3gg4-6hqg-2vjx",
  "modified" : "2023-11-22T19:28:34Z",
  "published" : "2022-05-13T01:38:50Z",
  "aliases" : [ "CVE-2016-10362" ],
  "summary" : "Logstash Logs Sensitive Information",
  "details" : "Prior to Logstash version 5.0.1, Elasticsearch Output plugin when updating connections after sniffing, would log to file HTTP basic auth credentials.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "logstash-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-10362"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/elastic/logstash"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210730201452/http://www.securityfocus.com/bid/99154"
  }, {
    "type" : "WEB",
    "url" : "https://www.elastic.co/community/security"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-28T21:30:09Z",
    "nvd_published_at" : "2017-06-16T21:29:00Z"
  }
}