CVE-2020-36245: GramAddict GramAddict Bot Uses Dependency With Vulnerability
HIGHCVE-2020-36245 is a HIGH (CVSS 8.8) gramaddict bot uses dependency with vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting GramAddict libraries in the PyPI ecosystem. The issue involves gramaddict bot uses dependency with reverse tcp backdoor. Remediation is available by upgrading affected packages to version 1.2.5.
CVE-2020-36245 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-36245
To remediate this vulnerability, upgrade all affected GramAddict dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install GramAddict>=1.2.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show GramAddict
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-36245, inspect your installed packages using pip:
pip show GramAddict
Analyze the terminal output to locate any version of GramAddict in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.5), your application is affected.
Note: The pip show GramAddict command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In GramAddict, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-36245 Affected GramAddict Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
GramAddict
|
PyPI |
< 1.2.5
|
1.2.5
|
References
Frequently Asked Questions
What is CVE-2020-36245?
Which GramAddict versions are affected?
What version fixes CVE-2020-36245?
Is GramAddict affected?
What is the CVSS score of CVE-2020-36245?
What CWE is associated with CVE-2020-36245?
How can I check PyPI dependencies for CVE-2020-36245?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q5h6-49gg-2wfg",
"modified" : "2024-09-20T21:46:38Z",
"published" : "2022-05-24T17:42:31Z",
"aliases" : [ "CVE-2020-36245" ],
"summary" : "GramAddict bot uses dependency with reverse tcp backdoor",
"details" : "GramAddict before 1.2.5 allows remote attackers to execute arbitrary code because of use of UIAutomator2 and ATX-Agent. The attacker must be able to reach TCP port 7912, e.g., by being on the same Wi-Fi network.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "GramAddict"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-36245"
}, {
"type" : "WEB",
"url" : "https://github.com/GramAddict/bot/issues/134"
}, {
"type" : "WEB",
"url" : "https://github.com/GramAddict/bot/pull/183"
}, {
"type" : "WEB",
"url" : "https://github.com/GramAddict/bot/commit/b9d11691b2fb13749c3cd0f75c70ee31242053ce"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/GramAddict/bot"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/gramaddict/PYSEC-2021-65.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-306", "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-22T22:12:57Z",
"nvd_published_at" : "2021-02-17T22:15:00Z"
}
}