Loading...
Skip to main content

CVE-2024-41799 — Vulnerability in Tgstation.Server.Host — CVE Details

HIGH

tgstation-server's DreamMaker environment files outside the deployment directory can be compiled and ran by insufficiently permissioned users

Published July 29, 2024Updated September 10, 2026Source: osv

Summary

### Impact _What kind of vulnerability is it? Who is impacted?_ Low permission users using the "Set .dme Path" privilege could potentially set malicious .dme files existing on the host machine to be compiled and executed. These .dme files could be uploaded via tgstation-server (requiring a separate, isolated privilege) or some other means. A server configured to execute in BYOND's trusted security level (requiring a third separate, isolated privilege OR being set by another user) could lead to this escalating into remote code execution via BYOND's shell() proc. The ability to execute this kind of attack is a known side effect of having privileged TGS users, but normally requires multiple privileges with known weaknesses. This vector is not intentional as 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. ### Patches _Has the problem been patched? What versions should users upgrade to?_ This problem is patched by pull request #1835 and fixed in versions 6.8.0 and above. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ Do not give un-trusted users the Deployment permission to set a .dme path on instances.

Advisory Timeline

  • First published July 29, 2024 (805 days ago).
  • Last revised September 10, 2026 — 772 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Tgstation.Server.Host to 6.8.0 or later
dotnet add package Tgstation.Server.Host --version 6.8.0
NuGet
Update Tgstation.Server.Api to 6.8.0 or later
dotnet add package Tgstation.Server.Api --version 6.8.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: nuget (2).

PackageEcosystemAffectedFixed In
Tgstation.Server.Host
nuget
All versions6.8.0
Tgstation.Server.Api
nuget
4.0.0, 4.0.2, 6.1.0, 6.2.0 (+6 more)6.8.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:H

Frequently Asked Questions

What is CVE-2024-41799?
tgstation-server's DreamMaker environment files outside the deployment directory can be compiled and ran by insufficiently permissioned users This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.4/10).
How do I check if my project is affected by CVE-2024-41799?
CVE-2024-41799 affects Tgstation.Server.Host and Tgstation.Server.Api. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-41799 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.4

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-c3h4-9gc2-f7h4

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies