Highlights
Auth Bypass: 14 prior fixes. Scrutinize any change in this area.
modules/openapi-generator: most-fixed (4 issues). Treat as high-risk during review.
22 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Code Injection: Attackers can exploit unsanitized fields in OpenAPI specifications to inject arbitrary code into generated client and server codebases. This vulnerability class repeatedly affected Java, C#, JavaScript, Python, and Ruby generators due to unescaped quotation marks and comments.
Path Traversal: Generated client templates downloading files based on server-provided HTTP Content-Disposition headers are vulnerable to writing files outside target directories if they do not sanitize traversing characters like '../'.
Insecure Temporary File: Historically, the generator and its generated libraries used 'File.createTempFile' which creates files with overly permissive world-readable permissions. This exposed sensitive application data on multi-tenant environments.