CVE-2021-29466
JSON

6.5medium

Path Traversal at Discord-Recon .recon Command Path

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.63% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Discord-Recon is a bot for the Discord chat service. In versions of Discord-Recon 0.0.3 and prior, a remote attacker is able to read local files from the server that can disclose important information. As a workaround, a bot maintainer can locate the file `app.py` and add `.replace('..', '')` into the `Path` variable inside of the `recon` function. The vulnerability is patched in version 0.0.4.

Affected

Product or packageVersionsReported by
DEMON1A Discord-Recon<= 0.0.3CVE List
discord discord-reconbefore 0.0.4NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

Discord-Recon is a bot for the Discord chat service. In versions of Discord-Recon 0.0.3 and prior, a remote attacker is able to read local files from the server that can disclose important information. As a workaround, a bot maintainer can locate the file `app.py` and add `.replace('..', '')` into the `Path` variable inside of the `recon` function. The vulnerability is patched in version 0.0.4.

NVD (es)

Discord-Recon es un bot para el servicio de chat Discord.&#xa0;En versiones de Discord-Recon versiones 0.0.3 y anteriores, un atacante remoto puede leer archivos locales del servidor que pueden divulgar información importante.&#xa0;Como solución alternativa, un encargado de mantenimiento de bots puede ubicar el archivo "app.py" y agregar" .replace ("..", '')" en la variable "Path" dentro de la función "recon".&#xa0;La vulnerabilidad está parcheada en versión 0.0.4

References

Sources

SourceRecordLicence
CVE ListCVE-2021-29466 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-29466 changed 2026-06-17Public domain