{"answers":{"affected":"2 open source packages ship an affected version, including org.openapitools:openapi-generator-project. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-27162 exists.","fix":"No fix has been published for CVE-2023-27162 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-27162 is a critical server-side request forgery vulnerability in n/a, published on 31 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-27162 and fix it if it is affected.\n\nWhat it is: CVE-2023-27162 is a critical server-side request forgery vulnerability in n/a, published on 31 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-27162 exists.\n\nAffected packages and fixed versions:\n- org.openapitools:openapi-generator-project (Maven): affected all versions up to 6.4.0; no fix listed\n- org.openapitools:openapi-generator-project (Maven): affected all versions up to 6.4.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-27162/ (Markdown: https://insights.sbomify.com/CVE-2023-27162/index.md)","id":"CVE-2023-27162","markdown":"https://insights.sbomify.com/CVE-2023-27162/index.md","name":"CVE-2023-27162","record":{"aliases":["GHSA-wg4w-5m5r-w3p8"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenAPI code generator","requires_auth":"none","summary":"Attackers can exploit SSRF in openapi-generator to access internal network resources and sensitive information via crafted API requests.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openapi_generator","vendor":"openapi-generator"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"openapi-generator up to v6.4.0 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /api/gen/clients/{language}. This vulnerability allows attackers to access network resources and sensitive information via a crafted API request.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"OpenAPI Generator vulnerable to Server-Side Request Forgery","id":"CVE-2023-27162","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"request-baskets vulnerable to Server-Side Request Forgery","id":"CVE-2023-27163"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["6.4.0"],"package":"org.openapitools:openapi-generator-project","purl":null,"source":"GHSA-wg4w-5m5r-w3p8"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["6.4.0"],"package":"org.openapitools:openapi-generator-project","purl":"pkg:maven/org.openapitools/openapi-generator-project","source":"GHSA-wg4w-5m5r-w3p8"}],"prev":{"headline":"Server-side request forgery in n/a","id":"CVE-2023-27161"},"products":["n/a"],"published":"2023-03-31","related":[{"cvss_score":9.3,"headline":"Creation of Temporary File in Directory with Insecure Permissions in the OpenAPI-Generator online generator","id":"CVE-2021-21428","kev_date_added":null,"published":"2021-05-10"},{"cvss_score":8.1,"headline":"OpenAPI Tools OpenAPI Generator uses HTTP in various files","id":"CVE-2019-11405","kev_date_added":null,"published":"2019-04-21"},{"cvss_score":6.2,"headline":"Creation of Temporary File in Directory with Insecure Permissions in auto-generated Java, Scala code","id":"CVE-2021-21430","kev_date_added":null,"published":"2021-05-10"},{"cvss_score":4,"headline":"Creation of Temporary File in Directory with Insecure Permissions in the OpenAPI Generator Maven plugin","id":"CVE-2021-21429","kev_date_added":null,"published":"2021-04-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["n/a"]},"summary":"Attackers can exploit SSRF in openapi-generator to access internal network resources and sensitive information via crafted API requests.","url":"https://insights.sbomify.com/CVE-2023-27162/"}