7.4high
User impersonation due to incorrect handling of the login JWT
- Severity
- 7.4high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.44% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-h77f-xxx7-4858
Description
Geyser is a bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition. Versions of Geyser prior to 1.4.2-SNAPSHOT allow anyone that can connect to the server to forge a LoginPacket with manipulated JWT token allowing impersonation as any user. Version 1.4.2-SNAPSHOT contains a patch for the issue. There are no known workarounds aside from upgrading.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GeyserMC Geyser | <= 1.4.1-SNAPSHOT, before 1.4.2 | CVE List, NVD |
| org.geysermc:connector (Maven) | before 1.4.2-SNAPSHOT | GitHub Advisory Database |
All scores
| GitHub_M | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Geyser is a bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition. Versions of Geyser prior to 1.4.2-SNAPSHOT allow anyone that can connect to the server to forge a LoginPacket with manipulated JWT token allowing impersonation as any user. Version 1.4.2-SNAPSHOT contains a patch for the issue. There are no known workarounds aside from upgrading.
GitHub Advisory Database
Impact
<!--_What kind of vulnerability is it? Who is impacted?_-->This allows anyone that can connect to the server to forge a LoginPacket with manipulated JWT token allowing impersonation as any Bedrock user. Unless credentials are saved in your configuration, online mode is not affected as users are still required to log in separately. If your credentials are saved, there is no risk of exposing your email or password.
Patches
<!--_Has the problem been patched? What versions should users upgrade to?_-->This was patched as part of https://github.com/GeyserMC/Geyser/commit/b9541505af68ac7b7c093206ac7b1ba88957a5a6 and https://github.com/GeyserMC/Geyser/commit/ab2f5b326fe590e09167e8b45b4b165ac06ecd13. if your Geyser version is 1.4.2-SNAPSHOT or later, the issue has been addressed on your build.
Workarounds
<!--_Is there a way for users to fix or remediate the vulnerability without upgrading?_-->Geyser strongly recommends updating to fix this issue. If this isn't possible:
- Use online mode and don't save credentials in your Geyser configuration
- Use an additional authentication method on the Java server
References
<!--_Are there any links users can visit to find out more?_-->This was disclosed to us by a staff member over at Hive; you can read their disclosure here: https://updates.playhive.com/changelog/weekend-maintenance-breakdown
For more information
If you have any questions or comments about this advisory:
- Come talk to us over on our Discord server in the #development channel
NVD (es)
Geyser es un puente entre Minecraft: Bedrock Edition y Minecraft: Java Edition. Unas versiones de Geyser anteriores a 1.4.2-SNAPSHOT permiten a cualquiera que pueda conectarse al servidor falsificar un LoginPacket con un token JWT manipulado, permitiendo una suplantación de identidad como cualquier usuario. La versión 1.4.2-SNAPSHOT contiene un parche para este problema. No se presentan soluciones conocidas aparte de la actualización
References
| https://github.com/GeyserMC/Geyser/security/advisories/GHSA-h77f-xxx7-4858 | patch, third-party-advisory, web | |
| https://github.com/GeyserMC/Geyser/commit/b9541505af68ac7b7c093206ac7b1ba88957a5a6 | patch, third-party-advisory, web | |
| https://updates.playhive.com/weekend-maintenance-disclosure-2kJMaY | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-39177 | advisory | |
| https://github.com/GeyserMC/Geyser | package | |
| https://updates.playhive.com/changelog/weekend-maintenance-breakdown | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39177 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h77f-xxx7-4858 changed 2026-10-01 | CC-BY-4.0 |
| NVD | CVE-2021-39177 changed 2026-06-17 | Public domain |