CVE-2024-43404

Source
https://cve.org/CVERecord?id=CVE-2024-43404
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43404.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-43404
Aliases
  • GHSA-vhxp-4hwq-w3p2
Published
2024-08-20T14:55:12Z
Modified
2026-10-28T02:30:34Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Remote Code Execution Vulnerability in MEGABOT
Details

MEGABOT is a fully customized Discord bot for learning and fun. The /math command and functionality of MEGABOT versions < 1.5.0 contains a remote code execution vulnerability due to a Python eval(). The vulnerability allows an attacker to inject Python code into the expression parameter when using /math in any Discord channel. This vulnerability impacts any discord guild utilizing MEGABOT. This vulnerability was fixed in release version 1.5.0.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-95"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43404.json"
}
References

Affected packages

Git / github.com/nicpwns/megabot

Affected ranges

Type
GIT
Repo
https://github.com/nicpwns/megabot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:megacord:megabot:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.5.0"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "71e79e5581ea36313700385b112d863053fb7ed6"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.5.0",
            "range":  [
                {
                    "fixed":  "26c7b95ddbf5d762cad387f20b85fe3bd4fbb821"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v.*
v.1.3.0
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.4.0
v1.4.1
v1.4.10
v1.4.2
v1.4.3
v1.4.4
v1.4.5
v1.4.6
v1.4.7
v1.4.8
v1.4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43404.json"