CVE-2024-23448: Github.com/elastic/apm server APM Server Vulnerable To Insertion Vulnerability
HIGHCVE-2024-23448 is a HIGH (CVSS 5.7) apm server vulnerable to insertion vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Github.com/elastic/apm server libraries in the Go ecosystem. The issue involves apm server vulnerable to insertion of sensitive information into log file. Remediation is available by upgrading affected packages to version 8.12.1.
CVE-2024-23448 at a Glance
Security Impact
CVSS: 5.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-23448
To remediate this vulnerability, upgrade all affected Github.com/elastic/apm server 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/apm-server to 8.12.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/elastic/apm-server
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-23448, inspect your project dependencies for Github.com/elastic/apm server:
inspect dependencies for github.com/elastic/apm-server
Analyze the terminal output to locate any version of Github.com/elastic/apm server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.12.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-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Github.com/elastic/apm server, 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-2024-23448 Affected Github.com/elastic/apm server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/elastic/apm-server
|
Go |
< 8.12.1
|
8.12.1
|
References
Frequently Asked Questions
What is CVE-2024-23448?
Which Github.com/elastic/apm server versions are affected?
What version fixes CVE-2024-23448?
Is github.com/elastic/apm-server affected?
What is the CVSS score of CVE-2024-23448?
What CWE is associated with CVE-2024-23448?
How can I check Go dependencies for CVE-2024-23448?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8r33-q5j5-rh7g",
"modified" : "2024-11-18T16:26:36Z",
"published" : "2024-02-08T00:32:19Z",
"aliases" : [ "CVE-2024-23448" ],
"summary" : "APM Server vulnerable to Insertion of Sensitive Information into Log File",
"details" : "An issue was discovered whereby APM Server could log at ERROR level, a response from Elasticsearch indicating that indexing the document failed and that response would contain parts of the original document. Depending on the nature of the document that the APM Server attempted to ingest, this could lead to the insertion of sensitive or private information in the APM Server logs.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/elastic/apm-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.12.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23448"
}, {
"type" : "WEB",
"url" : "https://discuss.elastic.co/t/apm-server-8-12-1-security-update-esa-2024-03/352688"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/elastic/apm-server"
}, {
"type" : "WEB",
"url" : "https://www.elastic.co/community/security"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-16T23:18:07Z",
"nvd_published_at" : "2024-02-07T22:15:09Z"
}
}