CVE-2021-21429CWE-552

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

Medium · published April 27, 2021

CVSS v3.1
4.0
EPSS
0%
Percentile
21.1
In the wild
Unconfirmed
What it is

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. The issue has been patched with `Files.createTempFile` and released in the v5.1.0 stable version.

The record
Technical detail
CVSS v3.1
4.0 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00296 · 21.1th percentile
Weakness
CWE-552 · Files or Directories Accessible to External Parties
Published
2021-04-27T20:00Z
EPSS history
Timeline
  • 27 APR 20:00Z
    Creation of Temporary File in Directory with Insecure Permissions in the OpenAPI Generator Maven plugin
    cvelistv5