{"answers":{"affected":"2 open source packages ship an affected version, including org.glassfish.main.web:web-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8646 in the wild and no public exploit code.","fix":"Upgrade org.glassfish.main.web:web-core to 7.0.10 or later.","what":"CVE-2024-8646 is a medium-severity vulnerability in Eclipse Glassfish, published on 11 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-8646 and fix it if it is affected.\n\nWhat it is: CVE-2024-8646 is a medium-severity vulnerability in Eclipse Glassfish, published on 11 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-8646 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.glassfish.main.web:web-core (Maven): affected all versions; fixed in 7.0.10\n- org.glassfish.main.web:web-core (Maven): affected all versions; fixed in 7.0.10\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-8646/ (Markdown: https://insights.sbomify.com/CVE-2024-8646/index.md)","id":"CVE-2024-8646","markdown":"https://insights.sbomify.com/CVE-2024-8646/index.md","name":"CVE-2024-8646","record":{"aliases":["GHSA-7gq2-vwq9-w8vw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java application server","requires_auth":"none","summary":"Attackers can redirect users to untrusted sites via open redirect in Eclipse GlassFish applications deployed to the root context.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"glassfish","vendor":"eclipse"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"In Eclipse Glassfish versions prior to 7.0.10, a URL redirection vulnerability to untrusted sites existed.\nThis vulnerability is caused by the vulnerability (CVE-2023-41080) in the Apache code included in GlassFish.\nThis vulnerability only affects applications that are explicitly deployed to the root context ('/').","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":"Eclipse Glassfish: URL redirection vulnerability to untrusted sites","id":"CVE-2024-8646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"open_redirect","year":"2024"},"n_packages":2,"n_references":4,"next":{"headline":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab","id":"CVE-2024-8647"},"packages":[{"ecosystem":"Maven","fixed":["7.0.10"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.main.web:web-core","purl":null,"source":"GHSA-7gq2-vwq9-w8vw"},{"ecosystem":"Maven","fixed":["7.0.10"],"introduced":["0"],"last_affected":[],"package":"org.glassfish.main.web:web-core","purl":"pkg:maven/org.glassfish.main.web/web-core","source":"GHSA-7gq2-vwq9-w8vw"}],"prev":{"headline":"Access of Uninitialized Pointer in Wireshark","id":"CVE-2024-8645"},"products":["Eclipse Glassfish"],"published":"2024-09-11","related":[{"cvss_score":9.6,"headline":"Server-side request forgery in Eclipse GlassFish","id":"CVE-2026-12605","kev_date_added":null,"published":"2026-08-06"},{"cvss_score":9.6,"headline":"GlassFish's gadget handler is vulnerable to RCE","id":"CVE-2026-2587","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":9.1,"headline":"GlassFish's Administration Console is Vulnerable to RCE","id":"CVE-2026-2586","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":8.9,"headline":"Eclipse GlassFish is vulnerable to Server Side Request Forgery attacks through specific endpoints","id":"CVE-2024-9408","kev_date_added":null,"published":"2025-07-16"},{"cvss_score":6.9,"headline":"Glassfish redirect to untrusted site","id":"CVE-2024-9329","kev_date_added":null,"published":"2024-09-30"},{"cvss_score":6.8,"headline":"Glassfish remote code execution","id":"CVE-2023-5763","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":6.5,"headline":"Path Traversal In Eclipse GlassFish","id":"CVE-2022-2712","kev_date_added":null,"published":"2023-01-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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-11","vendors":["Eclipse Foundation"]},"summary":"Attackers can redirect users to untrusted sites via open redirect in Eclipse GlassFish applications deployed to the root context.","url":"https://insights.sbomify.com/CVE-2024-8646/"}