Skip to content

← Public intelligence

Maven package

org.openapitools:openapi-generator-maven-plugin

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.0MavenPublished

    Creation of Temporary File in Directory with Insecure Permissions in the OpenAPI Generator Maven plugin

    CVE-2021-21429 · GHSA-867q-77cc-98mv

    Affected
    • Maven org.openapitools:openapi-generator-maven-plugin < 5.1.0
    Fixed in
    5.1.0· Vendor fix available
    Issue
    Impact Using File.createTempFile in JDK will result in creating and using insecure temporary files that can leave application and system data vulnerable to attacks. This vulnerability only impacts unix-like systems where the local system temporary directory is shared between all users. This vulnerability does not impact Windows or modern versions of MacOS. OpenAPI Generator Maven plug-in creates insecure temporary files during the code generation process. It creates insecure temporary files to store the OpenAPI specification files provided by the users and these temporary files can be read by any users in the system. The impact of this vulnerability is information disclosure of the contents of the specification file to other local users. Patches The issue has been patched with Files.createTempFile and released in the v5.1.0 stable version. For more information If you have any questions or comments about this advisory: Open an issue in OpenAPI Generator Github repo Email us at…

    Recommended action: Upgrade to 5.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →