Path Traversal Affecting tgstation.server.api package, versions [,13.6.0)


Severity

Recommended
0.0
high
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 Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-TGSTATIONSERVERAPI-7573298
  • published30 Jul 2024
  • disclosed29 Jul 2024
  • creditSandPoot

Introduced: 29 Jul 2024

CVE-2024-41799  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Tgstation.Server.Api to version 13.6.0 or higher.

Overview

Tgstation.Server.Api is a package that defines HTTP headers, default credentials, models, rights, and routes for communicating with the tgstation-server API

Affected versions of this package are vulnerable to Path Traversal that allows low privileged users to set .dme files on the host to be executable, via the Set .dme Path privilege. If those files are compromised by other means and contain malicious code and then executed by a user with sufficient privileges, this allows the user to cause code execution on the host.

Note: This possibility is unintended, described by the maintainers as dangerous because it "does not require control over the where deployment code is sourced from and may not require remote write access to an instance's Configuration directory."

CVSS Scores

version 4.0
version 3.1