CVE-2024-56141 PUBLISHED

Minosoft has IV equal to key

Assigner: GitHub_M
Reserved: 16.12.2024 Published: 06.07.2026 Updated: 06.07.2026

Minosoft is an open-source, multi-version Minecraft Java Edition client written in Kotlin. Starting in commit f1ae30e2b046a490026a8413b075685deb795122, the CryptManager  encryption routine ( CryptManager.kt ) initializes its AES cipher using an initialization vector (IV) that is set equal to the secret key rather than to a sufficiently random value. Because the IV is not random and is derived directly from the key, the encryption is vulnerable to chosen-ciphertext/chosen-plaintext attacks: an attacker who can submit specific messages for encryption can recover the secret key. This affects all versions supporting Minecraft protocol 1.7 and later. No patched version is available, and no known workarounds are available.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS Score: 5

Product Status

Vendor Bixilon
Product Minosoft
Versions
  • Version >= f1ae30e2b046a490026a8413b075685deb795122 is affected

References

Problem Types

  • CWE-329: Generation of Predictable IV with CBC Mode CWE