CVE-2021-37939: Kibana Kibana Sensitive Data Disclosure Vulnerability
MODERATECVE-2021-37939 is a MODERATE kibana sensitive data disclosure vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Kibana libraries in the npm ecosystem. The issue involves kibana sensitive data disclosure. Remediation is available by upgrading affected packages to version 7.15.2.
CVE-2021-37939 at a Glance
How to Fix CVE-2021-37939
To remediate this vulnerability, upgrade all affected Kibana dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install kibana@7.15.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls kibana
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2021-37939, inspect your project dependencies using npm:
npm ls kibana
Analyze the terminal output to locate any version of Kibana in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.15.2), your application is affected.
Note: The npm ls kibana command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Kibana, 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-2021-37939 Affected Kibana Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kibana
|
npm |
≥ 7.8.0
< 7.15.2
|
7.15.2
|
References
Frequently Asked Questions
What is CVE-2021-37939?
Which Kibana versions are affected?
What version fixes CVE-2021-37939?
Is kibana affected?
What CWE is associated with CVE-2021-37939?
How can I check npm dependencies for CVE-2021-37939?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hp5f-qqrw-c8gj",
"modified" : "2023-07-11T18:24:03Z",
"published" : "2022-05-24T22:28:42Z",
"aliases" : [ "CVE-2021-37939" ],
"summary" : "Kibana Sensitive Data Disclosure",
"details" : "It was discovered that Kibana’s JIRA connector & IBM Resilient connector could be used to return HTTP response data on internal hosts, which may be intentionally hidden from public view. Using this vulnerability, a malicious user with the ability to create connectors, could utilize these connectors to view limited HTTP response data on hosts accessible to the cluster.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "kibana"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.8.0"
}, {
"fixed" : "7.15.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.15.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-37939"
}, {
"type" : "WEB",
"url" : "https://discuss.elastic.co/t/kibana-7-15-2-security-update/288923"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-319" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-11T18:24:03Z",
"nvd_published_at" : "2021-11-18T16:15:00Z"
}
}