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.
{
"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"
}{
"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"
}
]
}