Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-21363

23
FAUCET Score

CVE-2021-21363 is a local privilege escalation vulnerability affecting swagger-codegen versions prior to 2.4.19. On Unix-like systems, an attacker can exploit a race condition during the creation of temporary subdirectories in the shared system temporary directory, allowing them to append malicious code to the outputFolder. This vulnerability carries a high CVSS score of 7.0 due to its potential for high impact on confidentiality, integrity, and availability, despite requiring low privileges and high attack complexity. Currently, there is no known active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.4.19CPE matchmatch criteria
cpe:2.3:a:smartbear:swagger-codegen:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

5.3MEDIUM

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

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
0.8
Impact Score
4.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.41%
Probability of exploitation in next 30 days
EPSS Percentile
33.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0041 is in the 74th percentile among its peer group of 1,525 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.4 InfoSec Media, 0.1 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
mavenpatch availablevia ghsa
Product: io.swagger:swagger-codegenFixed in: 2.4.19

Vendor Advisories (1)

mavenGHSA-pc22-3g76-gm6jlow

Generator Web Application: Local Privilege Escalation Vulnerability via System Temp Directory

Mar 11, 2021

References

github.com / swagger-api/swagger-codegen/commit/987ea7a30b463cc239580d6ad166c707ae942a89
PatchThird Party Advisory
github.com / swagger-api/swagger-codegen/security/advisories/GHSA-pc22-3g76-gm6j
ExploitThird Party Advisory