Zip Slip Path Traversal in quarkus-openapi-generator ApicurioCodegenWrapper class
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| quarkiverse | quarkus-openapi-generator | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Quarkiverse | Quarkus-openapi-generator |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jx2w-vp7f-456q | quarkus-openapi-generator extension has Zip Slip Path Traversal in ApicurioCodegenWrapper class |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.402% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Quarkiverse quarkus Openapi Generator
|
|
| CPEs | cpe:2.3:a:quarkiverse:quarkus_openapi_generator:*:*:*:*:*:*:*:* cpe:2.3:a:quarkiverse:quarkus_openapi_generator:2.15.0:*:*:*:-:*:*:* |
|
| Vendors & Products |
Quarkiverse quarkus Openapi Generator
|
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Quarkiverse
Quarkiverse quarkus-openapi-generator |
|
| Vendors & Products |
Quarkiverse
Quarkiverse quarkus-openapi-generator |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Quarkus OpenAPI Generator is Quarkus' extensions for generation of Rest Clients and server stubs generation. Prior to 2.16.0 and 2.15.0-lts, the unzip() method in ApicurioCodegenWrapper.java extracts ZIP entries without validating that the resolved file path stays within the intended output directory. At line 101, the destination is constructed as new File(toOutputDir, entry.getName()) and the content is written immediately. A malicious ZIP archive containing entries with path traversal sequences (e.g., ../../malicious.java) would write files outside the target directory. This vulnerability is fixed in 2.16.0 and 2.15.0-lts. | |
| Title | Zip Slip Path Traversal in quarkus-openapi-generator ApicurioCodegenWrapper class | |
| Weaknesses | CWE-22 | |
| References |
|
|
| Metrics |
cvssV4_0
|