{"answers":{"affected":"5 open source packages ship an affected version, including org.apache.streampipes:streampipes-parent and streampipes. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-31411 in the wild and no public exploit code.","fix":"Upgrade org.apache.streampipes:streampipes-parent to 0.95.0 or later.","what":"CVE-2024-31411 is a medium-severity vulnerability in Apache StreamPipes, published on 17 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-31411 and fix it if it is affected.\n\nWhat it is: CVE-2024-31411 is a medium-severity vulnerability in Apache StreamPipes, published on 17 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-31411 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.streampipes:streampipes-parent (Maven): affected all versions; fixed in 0.95.0\n- org.apache.streampipes:streampipes-parent (Maven): affected all versions; fixed in 0.95.0\n- streampipes (PyPI): affected all versions; fixed in 0.95.0\n- streampipes (PyPI): affected all versions; fixed in 0.95.0\n- streampipes (PyPI): affected all versions; fixed in 0.95.0\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-31411/ (Markdown: https://insights.sbomify.com/CVE-2024-31411/index.md)","id":"CVE-2024-31411","markdown":"https://insights.sbomify.com/CVE-2024-31411/index.md","name":"CVE-2024-31411","record":{"aliases":["GHSA-6523-jf4r-c962","PYSEC-2024-173"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache StreamPipes","requires_auth":"high_privilege","summary":"Authenticated attackers can upload dangerous files to achieve remote code execution in Apache StreamPipes.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"streampipes","vendor":"apache"}],"cvss":{"score":6,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Unrestricted Upload of File with dangerous type vulnerability in Apache StreamPipes.\nSuch a dangerous type might be an executable file that may lead to a remote code execution (RCE).\nThe unrestricted upload is only possible for authenticated and authorized users.\nThis issue affects Apache StreamPipes: through 0.93.0.\n\nUsers are recommended to upgrade to version 0.95.0, which fixes the issue.","ecosystems":["Maven","PyPI"],"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":"Apache StreamPipes: Potential remote code execution (RCE) via file upload","id":"CVE-2024-31411","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"file_upload","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"Information disclosure in CX-Programmer","id":"CVE-2024-31412"},"packages":[{"ecosystem":"Maven","fixed":["0.95.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.streampipes:streampipes-parent","purl":null,"source":"GHSA-6523-jf4r-c962"},{"ecosystem":"Maven","fixed":["0.95.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.streampipes:streampipes-parent","purl":"pkg:maven/org.apache.streampipes/streampipes-parent","source":"GHSA-6523-jf4r-c962"},{"ecosystem":"PyPI","fixed":["0.95.0"],"introduced":["0"],"last_affected":[],"package":"streampipes","purl":null,"source":"GHSA-6523-jf4r-c962"},{"ecosystem":"PyPI","fixed":["0.95.0"],"introduced":["0"],"last_affected":[],"package":"streampipes","purl":"pkg:pypi/streampipes","source":"GHSA-6523-jf4r-c962"},{"ecosystem":"PyPI","fixed":["0.95.0"],"introduced":["0"],"last_affected":[],"package":"streampipes","purl":"pkg:pypi/streampipes","source":"PYSEC-2024-173"}],"prev":{"headline":"CyberPower PowerPanel business Use of Hard-coded Cryptographic Key","id":"CVE-2024-31410"},"products":["Apache StreamPipes"],"published":"2024-07-17","related":[{"cvss_score":9.1,"headline":"Apache StreamPipes: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Recovery Token Generation","id":"CVE-2024-29868","kev_date_added":null,"published":"2024-06-24"},{"cvss_score":8.8,"headline":"Apache StreamPipes: Privilege escalation through non-admin user","id":"CVE-2023-31469","kev_date_added":null,"published":"2023-06-23"},{"cvss_score":8.1,"headline":"Apache StreamPipes: Leverage of User ID for Privilege Escalation","id":"CVE-2025-47411","kev_date_added":null,"published":"2026-01-01"},{"cvss_score":7.5,"headline":"Apache StreamPipes: Possibility of SSRF in pipeline element installation process","id":"CVE-2024-31979","kev_date_added":null,"published":"2024-07-17"},{"cvss_score":6.5,"headline":"Apache StreamPipes: Resources Permission Escalation","id":"CVE-2024-24778","kev_date_added":null,"published":"2025-03-03"},{"cvss_score":5.3,"headline":"Apache StreamPipes: Potential creation of multiple identical accounts","id":"CVE-2024-30471","kev_date_added":null,"published":"2024-07-17"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"total"},"state":"PUBLISHED","updated":"2024-09-13","vendors":["Apache Software Foundation"]},"summary":"Authenticated attackers can upload dangerous files to achieve remote code execution in Apache StreamPipes.","url":"https://insights.sbomify.com/CVE-2024-31411/"}