VYPR
Unrated severityNVD Advisory· Published Jun 3, 2021· Updated Aug 3, 2024

CVE-2021-33806

CVE-2021-33806

Description

The BDew BdLib library before 1.16.1.7 for Minecraft allows remote code execution because it deserializes untrusted data in ObjectInputStream.readObject as part of its use of Java serialization.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

BdLib Minecraft mod before 1.16.1.7 deserializes untrusted data via Java serialization, allowing remote code execution by a malicious server or client.

Vulnerability

BdLib, a library mod for Minecraft, uses Java serialization via ObjectInputStream.readObject() to deserialize packet data sent over the Minecraft network pipeline. Versions prior to 1.16.1.7 do not validate the incoming data before deserialization, making them susceptible to arbitrary code execution [2]. The vulnerability is classified as CWE-502: Deserialization of Untrusted Data [2].

Exploitation

An attacker who controls either a Minecraft server or a client can craft malicious serialized Java objects and send them as part of the BdLib network protocol. The victim's game client or server will deserialize the untrusted data without any validation, triggering the exploit [2]. No additional authentication or user interaction is required beyond connecting to a malicious server or accepting a connection from a malicious client.

Impact

Successful exploitation allows the attacker to execute arbitrary code on the victim's system with the privileges of the Minecraft process. This can lead to full compromise of the affected system, including data theft, installation of malware, or further lateral movement within a network [2].

Mitigation

The vulnerability is fixed in BdLib version 1.16.1.7 [2]. The fix involved reworking the custom network code to eliminate the use of Java serialization, as shown in the commit 4472105 [1]. Users should update to 1.16.1.7 or later immediately. No workaround is available for earlier versions.

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • BDew/BdLib librarydescription
  • bdew/BdLibllm-create
    Range: <1.16.1.7

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.