CVE-2024-41799 json
tgstation-server's DreamMaker environment files outside the deployment directory can be compiled and ran by insufficiently permissioned users
published 2024-07-29 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2316 , GHSA-c3h4-9gc2-f7h4
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
tgstation-server is a production scale tool for BYOND server management. Prior to 6.8.0, 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. This problem is fixed in versions 6.8.0 and above.
Patch / fix
- nuget Tgstation.Server.Api 6.8.0
- nuget Tgstation.Server.Host 6.8.0
- tgstation13 tgstation-server 6.8.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:H |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:H |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Tgstation.Server.Api | >=4.0.0, <6.8.0 |
6.8.0 |
| nuget | Tgstation.Server.Host | >=4.0.0, <6.8.0 |
6.8.0 |
Affected products
- tgstation tgstation-server
- tgstation13 tgstation-server
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/tgstation/tgstation-server/pull/1835
web, issue-tracking
-
github.com
/tgstation/tgstation-server/commit/374852fe5ae306415eb5aafb2d16b06897d7afe4
web, patch
-
github.com
/tgstation/tgstation-server/security/advisories/GHSA-c3h4-9gc2-f7h4
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-41799
advisory
-
github.com
/tgstation/tgstation-server
package
Sources
- CVE List CVE-2024-41799
- GitHub Advisory GHSA-c3h4-9gc2-f7h4
- NVD CVE-2024-41799
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.