GHSA-vccg-f4gp-45x9

    Dashboard / Vulnerabilities / GHSA-vccg-f4gp-45x9

    GHSA-vccg-f4gp-45x9

    Published: 21 Nov 2023Last Modified: 10 Sept 2026

    Summary: Eval Injection in fastbots

    Details: ### Impact 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. The vulnerable code that load and execute directly from the file without validation it's: ```python return eval(self._bot.locator(self._page_name, locator_name)) ``` ### Patches In order to mitigate this issue it's important to upgrade to fastbots version 0.1.5 or above. ### References [Merge that fix also this issue](https://github.com/ubertidavide/fastbots/pull/3#issue-2003080806)

    Affected packages

    Package

    Name: fastbots

    Purl: pkg:pypi/fastbots

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.1.5

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-vccg-f4gp-45x9 | CVE-DB