CVE-2021-39177
User impersonation due to incorrect handling of the login JWT
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.geysermc:connector | 1.4.2-SNAPSHOT |
References
- https://github.com/GeyserMC/Geyser
- https://github.com/GeyserMC/Geyser/commit/b9541505af68ac7b7c093206ac7b1ba88957a5a6
- https://github.com/GeyserMC/Geyser/security/advisories/GHSA-h77f-xxx7-4858
- https://nvd.nist.gov/vuln/detail/CVE-2021-39177
- https://updates.playhive.com/changelog/weekend-maintenance-breakdown
- https://updates.playhive.com/weekend-maintenance-disclosure-2kJMaY