Inclusion of Functionality from Untrusted Control Sphere Affecting github.com/elastic/elastic-agent package, versions <8.15.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMELASTICELASTICAGENT-10228826
  • published23 May 2025
  • disclosed1 May 2025
  • creditUnknown

Introduced: 1 May 2025

CVE-2024-52976  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade github.com/elastic/elastic-agent to version 8.15.4 or higher.

Overview

github.com/elastic/elastic-agent is an a single, unified way to add monitoring for logs, metrics, and other types of data to a host.

Affected versions of this package are vulnerable to Inclusion of Functionality from Untrusted Control Sphere via parameter injection in the osqueryd subprocess.

Note:

This is only exploitable if the attacker has permissions to access and modify the osqueryd configurations.

CVSS Base Scores

version 4.0
version 3.1