GHSA-g4xj-wcq6-qwx5

    Dashboard / Vulnerabilities / GHSA-g4xj-wcq6-qwx5

    GHSA-g4xj-wcq6-qwx5

    Published: 6 May 2021Last Modified: 8 Nov 2023
    Aliases:

    Summary: Code injection in mock2easy

    Details: This affects all versions up to and including version 0.0.24 of package mock2easy. a malicious user could inject commands through the `_data` variable: Affected Area ```js require('../server/getJsonByCurl')(mock2easy, function(error, stdout) { if (error) { return res.json(500, error); } res.json(JSON.parse(stdout)); }, '', _data.interfaceUrl, query, _data.cookie, _data.interfaceType);```

    Affected packages

    Package

    Name: mock2easy

    Purl: pkg:npm/mock2easy

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    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-g4xj-wcq6-qwx5 | CVE-DB