SCA: security update for org.openapitools:openapi-generator-online (GHSA-23x4-m842-fmwf)

high Tenable Cloud Security Plugin ID 408648

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-21428)

See Also

https://github.com/advisories/GHSA-23x4-m842-fmwf

Plugin Details

Severity: High

ID: 408648

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-21428

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/11/2021

Vulnerability Publication Date: 5/10/2021

Reference Information

CVE: CVE-2021-21428