CVE-2021-21428

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-21428
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21428.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21428
Aliases
Published
2021-05-10T19:15:08Z
Modified
2024-05-14T08:20:29.475051Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Openapi generator is a java tool which allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. openapi-generator-online creates insecure temporary folders with File.createTempFile during the code generation process. The insecure temporary folders store the auto-generated files which can be read and appended to by any users on the system. The issue has been patched with Files.createTempFile and released in the v5.1.0 stable version.

References

Affected packages

Git / github.com/openapitools/openapi-generator

Affected ranges

Type
GIT
Repo
https://github.com/openapitools/openapi-generator
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.0.17

swagger-codegen_2.*

swagger-codegen_2.9.1-1.1
swagger-codegen_2.9.1-2.0.0
swagger-codegen_2.9.1-2.0.1

v2.*

v2.0.13
v2.0.18
v2.1.0-M1
v2.1.0-M2
v2.1.1-M1
v2.1.2
v2.1.2-M1
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.2.0
v2.2.1
v2.2.2
v2.2.3
v2.3.0
v2.3.1

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.1.1
v3.1.2
v3.2.0
v3.2.1
v3.2.2
v3.2.3
v3.3.0
v3.3.1
v3.3.2
v3.3.3
v3.3.4

v4.*

v4.0.0
v4.0.0-beta2
v4.0.0-beta3
v4.0.1
v4.0.2
v4.0.3
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.3.0
v4.3.1

v5.*

v5.0.0
v5.0.0-beta
v5.0.0-beta2
v5.0.0-beta3
v5.0.1