{"answers":{"affected":"6 open source packages ship an affected version, including io.micronaut:micronaut-http-server, io.micronaut:micronaut-http-server-netty and io.micronaut:micronaut-http-server-tck. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23639 in the wild and no public exploit code.","fix":"Upgrade io.micronaut:micronaut-http-server to 3.8.3 or later.","what":"CVE-2024-23639 is a medium-severity server-side request forgery vulnerability in micronaut-projects micronaut-core, published on 9 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-23639 and fix it if it is affected.\n\nWhat it is: CVE-2024-23639 is a medium-severity server-side request forgery vulnerability in micronaut-projects micronaut-core, published on 9 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-23639 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.micronaut:micronaut-http-server (Maven): affected all versions; fixed in 3.8.3\n- io.micronaut:micronaut-http-server (Maven): affected all versions; fixed in 3.8.3\n- io.micronaut:micronaut-http-server-netty (Maven): affected all versions; fixed in 3.8.3\n- io.micronaut:micronaut-http-server-netty (Maven): affected all versions; fixed in 3.8.3\n- io.micronaut:micronaut-http-server-tck (Maven): affected all versions; fixed in 3.8.3\n- io.micronaut:micronaut-http-server-tck (Maven): affected all versions; fixed in 3.8.3\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-2024-23639/ (Markdown: https://insights.sbomify.com/CVE-2024-23639/index.md)","id":"CVE-2024-23639","markdown":"https://insights.sbomify.com/CVE-2024-23639/index.md","name":"CVE-2024-23639","record":{"aliases":["GHSA-583g-g682-crxf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can exploit unsecured management endpoints via drive-by localhost attacks to access sensitive data or bypass security controls in development environments.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"micronaut","vendor":"objectcomputing"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-664","name":"Improper Control of a Resource Through its Lifetime"},{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"},{"id":"CWE-15","name":"External Control of System or Configuration Setting"}],"description":"Micronaut Framework is a modern, JVM-based, full stack Java framework designed for building modular, easily testable JVM applications with support for Java, Kotlin and the Groovy language. Enabled but unsecured management endpoints are susceptible to drive-by localhost attacks. While not typical of a production application, these attacks may have more impact on a development environment where such endpoints may be flipped on without much thought. A malicious/compromised website can make HTTP requests to `localhost`. Normally, such requests would trigger a CORS preflight check which would prevent the request; however, some requests are \"simple\" and do not require a preflight check. These endpoints, if enabled and not secured, are vulnerable to being triggered. Production environments typically disable unused endpoints and secure/restrict access to needed endpoints. A more likely victim is the developer in their local development host, who has enabled endpoints without security for the sake of easing development. This issue has been addressed in version 3.8.3. Users are advised to upgrade.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"micronaut-core management endpoints vulnerable to drive-by localhost attack","id":"CVE-2024-23639","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":6,"n_references":2,"next":{"headline":"GeoServer Stored Cross-Site Scripting (XSS) vulnerability in Style Publisher","id":"CVE-2024-23640"},"packages":[{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"io.micronaut:micronaut-http-server","purl":null,"source":"GHSA-583g-g682-crxf"},{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"io.micronaut:micronaut-http-server","purl":"pkg:maven/io.micronaut/micronaut-http-server","source":"GHSA-583g-g682-crxf"},{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"io.micronaut:micronaut-http-server-netty","purl":null,"source":"GHSA-583g-g682-crxf"},{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"io.micronaut:micronaut-http-server-netty","purl":"pkg:maven/io.micronaut/micronaut-http-server-netty","source":"GHSA-583g-g682-crxf"},{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"io.micronaut:micronaut-http-server-tck","purl":null,"source":"GHSA-583g-g682-crxf"},{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"io.micronaut:micronaut-http-server-tck","purl":"pkg:maven/io.micronaut/micronaut-http-server-tck","source":"GHSA-583g-g682-crxf"}],"prev":{"headline":"SQUID-2023:11 Denial of Service in Cache Manager","id":"CVE-2024-23638"},"products":["micronaut-core"],"published":"2024-02-09","related":[{"cvss_score":9.8,"headline":"Micronaut's HTTP client is vulnerable to HTTP Request Header Injection","id":"CVE-2020-7611","kev_date_added":null,"published":"2020-03-30"},{"cvss_score":8.2,"headline":"Micronaut vulnerable to DoS via crafted form-urlencoded body binding with descending array indices","id":"CVE-2026-33013","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.5,"headline":"Micronaut Framework vulnerable to a Denial of Service in HTML error response caching","id":"CVE-2026-33012","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.5,"headline":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in micronaut-core","id":"CVE-2021-32769","kev_date_added":null,"published":"2021-07-16"},{"cvss_score":5.3,"headline":"Memory leak in micronaut-core","id":"CVE-2022-21700","kev_date_added":null,"published":"2022-01-18"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["micronaut-projects"]},"summary":"Attackers can exploit unsecured management endpoints via drive-by localhost attacks to access sensitive data or bypass security controls in development environments.","url":"https://insights.sbomify.com/CVE-2024-23639/"}