{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.druid:druid. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27888 exists.","fix":"Upgrade org.apache.druid:druid to a fixed version for your release line: 31.0.2 or 32.0.1.","what":"CVE-2025-27888 is a medium-severity server-side request forgery vulnerability in Apache Druid, published on 20 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-27888 and fix it if it is affected.\n\nWhat it is: CVE-2025-27888 is a medium-severity server-side request forgery vulnerability in Apache Druid, published on 20 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27888 exists.\n\nAffected packages and fixed versions:\n- org.apache.druid:druid (Maven): affected all versions; fixed in 31.0.2\n- org.apache.druid:druid (Maven): affected all versions; fixed in 31.0.2\n- org.apache.druid:druid (Maven): affected from 32.0.0; fixed in 32.0.1\n- org.apache.druid:druid (Maven): affected from 32.0.0; fixed in 32.0.1\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-2025-27888/ (Markdown: https://insights.sbomify.com/CVE-2025-27888/index.md)","id":"CVE-2025-27888","markdown":"https://insights.sbomify.com/CVE-2025-27888/index.md","name":"CVE-2025-27888","record":{"aliases":["GHSA-2xcr-p767-f3rv"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Druid","requires_auth":"low_privilege","summary":"Authenticated attackers can exploit the management proxy to perform SSRF, XSS, or open redirects, potentially leading to code execution or security bypasses.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"druid","vendor":"apache"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Severity: medium (5.8) / important\n\nServer-Side Request Forgery (SSRF), Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Apache Druid.\n\nThis issue affects all previous Druid versions.\n\nWhen using the Druid management proxy, a request that has a specially crafted URL could be used to redirect the request to an arbitrary server instead. This has the potential for XSS or XSRF. The user is required to be authenticated for this exploit. The management proxy is enabled in Druid's out-of-box configuration. It may be disabled to mitigate this vulnerability. If the management proxy is disabled, some web console features will not work properly, but core functionality is unaffected.\n\nUsers are recommended to upgrade to Druid 31.0.2 or Druid 32.0.1, which fixes the issue.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-27888.yaml","stars":null,"title":"Apache Druid - Server-Side Request Forgery"}],"tier":"weaponised"},"has_fix":true,"headline":"Apache Druid: Server-Side Request Forgery and Cross-Site Scripting","id":"CVE-2025-27888","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":4,"n_references":1,"next":{"headline":"Open redirect in Wing FTP Server","id":"CVE-2025-27889"},"packages":[{"ecosystem":"Maven","fixed":["31.0.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.druid:druid","purl":null,"source":"GHSA-2xcr-p767-f3rv"},{"ecosystem":"Maven","fixed":["31.0.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.druid:druid","purl":"pkg:maven/org.apache.druid/druid","source":"GHSA-2xcr-p767-f3rv"},{"ecosystem":"Maven","fixed":["32.0.1"],"introduced":["32.0.0"],"last_affected":[],"package":"org.apache.druid:druid","purl":null,"source":"GHSA-2xcr-p767-f3rv"},{"ecosystem":"Maven","fixed":["32.0.1"],"introduced":["32.0.0"],"last_affected":[],"package":"org.apache.druid:druid","purl":"pkg:maven/org.apache.druid/druid","source":"GHSA-2xcr-p767-f3rv"}],"prev":{"headline":"Apache Felix HTTP Webconsole Plugin: XSS in HTTP Webconsole Plugin","id":"CVE-2025-27867"},"products":["Apache Druid"],"published":"2025-03-20","related":[{"cvss_score":9.8,"headline":"Apache Druid: Authentication Bypass via LDAP Anonymous Bind","id":"CVE-2026-23906","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":9.8,"headline":"Apache Druid: Kerberos authenticaton chooses a cryptographically unsecure secret if not configured explicitly.","id":"CVE-2025-59390","kev_date_added":null,"published":"2025-11-26"},{"cvss_score":8.8,"headline":"Apache Druid Authenticated users can execute arbitrary code from malicious MySQL database systems.","id":"CVE-2021-26919","kev_date_added":null,"published":"2021-03-30"},{"cvss_score":8.8,"headline":"Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.","id":"CVE-2021-25646","kev_date_added":null,"published":"2021-01-29"},{"cvss_score":6.5,"headline":"Apache Druid: Users can provide MySQL JDBC properties not on allow list","id":"CVE-2024-45537","kev_date_added":null,"published":"2024-09-17"},{"cvss_score":6.5,"headline":"Druid ingestion system Authenticated users can read data from other sources than intended","id":"CVE-2021-36749","kev_date_added":null,"published":"2021-09-24"},{"cvss_score":6.5,"headline":"Apache Druid: The HTTP inputSource allows authenticated users to read data from other sources than intended","id":"CVE-2021-26920","kev_date_added":null,"published":"2021-07-02"}],"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-25","vendors":["Apache Software Foundation"]},"summary":"Authenticated attackers can exploit the management proxy to perform SSRF, XSS, or open redirects, potentially leading to code execution or security bypasses.","url":"https://insights.sbomify.com/CVE-2025-27888/"}