Arbitrary Command Execution Affecting github.com/drakkan/sftpgo/v2/internal/dataprovider package, versions >=2.4.0 <2.6.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th 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 Learn

Learn about Arbitrary Command Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDRAKKANSFTPGOV2INTERNALDATAPROVIDER-8400748
  • published22 Nov 2024
  • disclosed21 Nov 2024
  • credithyperreality

Introduced: 21 Nov 2024

NewCVE-2024-52309  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade github.com/drakkan/sftpgo/v2/internal/dataprovider to version 2.6.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Execution through the EventManager feature. An attacker with administrative privileges can execute arbitrary system commands by configuring scripts or applications to run in response to certain events.

CVSS Scores

version 4.0
version 3.1