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-21364

19
FAUCET Score

CVE-2021-21364 affects swagger-codegen versions prior to 2.4.19, where generated code on Unix-like systems can create files and directories with insecure default permissions in the shared system temporary directory. This local vulnerability has a CVSS score of 5.5 (Medium), indicating an attacker with local access could potentially read sensitive information (C:H) due to improper permission handling (CWE-732, CWE-200). There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this vulnerability.

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:H/I:N/A:N

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

Exploit Intelligence

EPSS Score
0.28%
Probability of exploitation in next 30 days
EPSS Percentile
20.4%
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.0028 is in the 76th percentile among its peer group of 15,940 CVEs.

Social Chatter

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

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 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-hpv8-9rq5-hq7wmedium

Generated Code Contains Local Information Disclosure Vulnerability

Mar 11, 2021

References

github.com / swagger-api/swagger-codegen/commit/35adbd552d5f99b3ff1e0e59da228becc85190f2
PatchThird Party Advisory
github.com / swagger-api/swagger-codegen/security/advisories/GHSA-hpv8-9rq5-hq7w
MitigationThird Party Advisory