Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/OpenAPITools/openapi-generator: CVE-2024-35219 #2884

Closed
GoVulnBot opened this issue May 27, 2024 · 1 comment
Labels
excluded: NOT_GO_CODE This vulnerability does not refer to a Go module.

Comments

@GoVulnBot
Copy link

CVE-2024-35219 references github.com/OpenAPITools/openapi-generator, which may be a Go module.

Description:
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Prior to version 7.6.0, attackers can exploit a path traversal vulnerability to read and delete files and folders from an arbitrary, writable directory as anyone can set the output folder when submitting the request via the outputFolder option. The issue was fixed in version 7.6.0 by removing the usage of the outputFolder option. No known workarounds are available.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/OpenAPITools/openapi-generator
      vulnerable_at: 5.3.1+incompatible
      packages:
        - package: openapi-generator
summary: CVE-2024-35219 in github.com/OpenAPITools/openapi-generator
cves:
    - CVE-2024-35219
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-35219
    - fix: https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d
    - fix: https://github.com/OpenAPITools/openapi-generator/pull/18652
    - web: https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h
source:
    id: CVE-2024-35219
    created: 2024-05-27T18:01:28.59932235Z
review_status: UNREVIEWED

@tatianab tatianab added excluded: NOT_GO_CODE This vulnerability does not refer to a Go module. and removed possibly not Go labels Jun 5, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/590855 mentions this issue: data/excluded: add 20 excluded reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
excluded: NOT_GO_CODE This vulnerability does not refer to a Go module.
Projects
None yet
Development

No branches or pull requests

3 participants