Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.swagger/swagger-codegen-maven-plugin
  4. ›
  5. CVE-2021-21363

CVE-2021-21363: Creation of Temporary File With Insecure Permissions

March 11, 2021 (updated March 18, 2021)

swagger-codegen is an open-source project which contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.

References

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

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.4.19

Fixed versions

  • 2.4.19

Solution

Upgrade to version 2.4.19 or above.

Impact 7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-378: Creation of Temporary File With Insecure Permissions
  • CWE-379: Creation of Temporary File in Directory with Insecure Permissions

Source file

maven/io.swagger/swagger-codegen-maven-plugin/CVE-2021-21363.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:30 +0000.