{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.streampipes:streampipes-resource-management. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29868 exists.","fix":"Upgrade org.apache.streampipes:streampipes-resource-management to 0.95.0 or later.","what":"CVE-2024-29868 is a critical vulnerability in Apache StreamPipes, published on 24 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-29868 and fix it if it is affected.\n\nWhat it is: CVE-2024-29868 is a critical vulnerability in Apache StreamPipes, published on 24 Jun 2024. 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-2024-29868 exists.\n\nAffected packages and fixed versions:\n- org.apache.streampipes:streampipes-resource-management (Maven): affected from 0.69.0; fixed in 0.95.0\n- org.apache.streampipes:streampipes-resource-management (Maven): affected from 0.69.0; 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-29868/ (Markdown: https://insights.sbomify.com/CVE-2024-29868/index.md)","id":"CVE-2024-29868","markdown":"https://insights.sbomify.com/CVE-2024-29868/index.md","name":"CVE-2024-29868","record":{"aliases":["GHSA-cf3q-vg8w-mw84"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache StreamPipes","requires_auth":"none","summary":"Attackers can guess weak recovery tokens to take over user accounts in Apache StreamPipes due to insecure random number generation.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"streampipes","vendor":"apache"}],"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-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"description":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) vulnerability in Apache StreamPipes user self-registration and password recovery mechanism.\nThis allows an attacker to guess the recovery token in a reasonable time and thereby to take over the attacked user's account.\nThis issue affects Apache StreamPipes: from 0.69.0 through 0.93.0.\n\nUsers are recommended to upgrade to version 0.95.0, which fixes the issue.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-06-24","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-06-24T14:53:05Z","kind":"github_poc","ref":"https://github.com/DEVisions/CVE-2024-29868","stars":1,"title":"Proof of concept of CVE-2024-29868 affecting Apache StreamPipes from 0.69.0 through 0.93.0"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-29868.yaml","stars":null,"title":"Apache StreamPipes \u003c= 0.93.0 - Use of Cryptographically Weak PRNG in Recovery Token Generation"}],"tier":"weaponised"},"has_fix":true,"headline":"Apache StreamPipes: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Recovery Token Generation","id":"CVE-2024-29868","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"Apache Hive: Credentials file created with non restrictive permissions","id":"CVE-2024-29869"},"packages":[{"ecosystem":"Maven","fixed":["0.95.0"],"introduced":["0.69.0"],"last_affected":[],"package":"org.apache.streampipes:streampipes-resource-management","purl":null,"source":"GHSA-cf3q-vg8w-mw84"},{"ecosystem":"Maven","fixed":["0.95.0"],"introduced":["0.69.0"],"last_affected":[],"package":"org.apache.streampipes:streampipes-resource-management","purl":"pkg:maven/org.apache.streampipes/streampipes-resource-management","source":"GHSA-cf3q-vg8w-mw84"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2024-29866"},"products":["Apache StreamPipes"],"published":"2024-06-24","related":[{"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":6,"headline":"Apache StreamPipes: Potential remote code execution (RCE) via file upload","id":"CVE-2024-31411","kev_date_added":null,"published":"2024-07-17"},{"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":"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"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-13","vendors":["Apache Software Foundation"]},"summary":"Attackers can guess weak recovery tokens to take over user accounts in Apache StreamPipes due to insecure random number generation.","url":"https://insights.sbomify.com/CVE-2024-29868/"}