CVE-2023-48699
Eval Injection in fastbots
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
fastbots is a library for fast bot and scraper development using selenium and the Page Object Model (POM) design. Prior to version 0.1.5, an attacker could modify the locators.ini locator file with python code that without proper validation it's executed and it could lead to rce. The vulnerability is in the function `def __locator__(self, locator_name: str)` in `page.py`. In order to mitigate this issue, upgrade to fastbots version 0.1.5 or above.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | fastbots | 0.1.5 |
References
- https://github.com/ubertidavide/fastbots
- https://github.com/ubertidavide/fastbots/commit/73eb03bd75365e112b39877e26ef52853f5e9f57
- https://github.com/ubertidavide/fastbots/pull/3#issue-2003080806
- https://github.com/ubertidavide/fastbots/security/advisories/GHSA-vccg-f4gp-45x9
- https://nvd.nist.gov/vuln/detail/CVE-2023-48699