CVE-2024-31446

7.7 HIGH

📋 TL;DR

This vulnerability in OpenComputers allows any user who can execute Lua code on mod devices to cause a denial-of-service by getting a Computer thread stuck in the Lua VM, which eventually blocks the Server thread and requires a forced server shutdown. It affects Minecraft servers running vulnerable versions of the OpenComputers mod. The GregTech: New Horizons modpack is also affected but has its own patched version.

💻 Affected Systems

Products:
  • OpenComputers Minecraft mod
  • GregTech: New Horizons modpack
Versions: OpenComputers versions before 1.8.4; GregTech: New Horizons versions before 1.10.10-GTNH
Operating Systems: All operating systems running Minecraft with the mod
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects servers using the native Lua library; LuaJ appears unaffected. Requires OpenComputers mod to be installed and enabled.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete server shutdown requiring manual intervention to restart, disrupting all players and potentially causing data loss or corruption.

🟠

Likely Case

Targeted denial-of-service against specific Minecraft servers running the mod, causing temporary disruption until server restart.

🟢

If Mitigated

No impact if patched versions are used or if LuaJ is configured instead of native Lua library.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires ability to execute Lua code on OpenComputers devices, which typically requires some level of access/permissions within the Minecraft server.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: OpenComputers 1.8.4; GregTech: New Horizons 1.10.10-GTNH

Vendor Advisory: https://github.com/MightyPirates/OpenComputers/security/advisories/GHSA-54j4-xpgj-cq4g

Restart Required: Yes

Instructions:

1. Download OpenComputers 1.8.4 or later from official sources. 2. Replace the existing OpenComputers mod file in your Minecraft server's mods folder. 3. Restart the Minecraft server. For GregTech: New Horizons, update to version 1.10.10-GTNH or later.

🔧 Temporary Workarounds

Switch to LuaJ library

all

Configure OpenComputers to use LuaJ instead of native Lua library, as LuaJ appears unaffected by this vulnerability

Restrict Lua code execution

all

Limit which users can execute Lua code on OpenComputers devices using server permissions/whitelisting

🧯 If You Can't Patch

  • Monitor server logs for unusual Lua execution patterns or server thread blocking
  • Implement regular server backups to minimize data loss from forced shutdowns

🔍 How to Verify

Check if Vulnerable:

Check OpenComputers mod version in server mods folder or via in-game /version command if available

Check Version:

Check mod file name or properties in Minecraft server mods folder

Verify Fix Applied:

Confirm OpenComputers version is 1.8.4 or higher, or GregTech: New Horizons is 1.10.10-GTNH or higher

📡 Detection & Monitoring

Log Indicators:

  • Server thread blocked warnings
  • Unusual Lua execution patterns
  • Forced server shutdown events

Network Indicators:

  • Sudden server unavailability
  • Connection timeouts to Minecraft server

SIEM Query:

Search for 'OpenComputers', 'Lua VM', 'server thread blocked', or forced shutdown events in server logs

🔗 References

📤 Share & Export