io.swagger:swagger-generator@2.1.3 vulnerabilities

  • latest version

    2.4.44

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the io.swagger:swagger-generator package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Privilege Escalation

    Affected versions of this package are vulnerable to Privilege Escalation. The system temporary directory on unix-like systems is shared between multiple users. Information written to this directory, or directories created under this directory that do not correctly set the posix standard permissions can have these directories read/modified by other users. This is due to a race condition between the call to delete and the call to mkdirs. As such, after deletion of the directory and before the creation of a new one, an attacker could create the directory, giving them ownership of the directory and its contents.

    How to fix Privilege Escalation?

    Upgrade io.swagger:swagger-generator to version 2.4.19 or higher.

    [,2.4.19)