Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.openapitools/openapi-generator
  4. ›
  5. CVE-2021-21429

CVE-2021-21429: Files or Directories Accessible to External Parties

April 27, 2021 (updated May 7, 2021)

OpenAPI Generator allows generation of API client libraries, server stubs, documentation and configuration automatically given an OpenAPI Spec. Using File.createTempFile in JDK will result in creating and using insecure temporary files that can leave application and system data vulnerable to attacks. OpenAPI Generator maven plug-in creates insecure temporary files during the process.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-21429

Code Behaviors & Features

Detect and mitigate CVE-2021-21429 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.1.0

Fixed versions

  • 5.1.0

Solution

Upgrade to version 5.1.0 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-552: Files or Directories Accessible to External Parties

Source file

maven/org.openapitools/openapi-generator/CVE-2021-21429.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.