{"answers":{"affected":"2 open source packages ship an affected version, including serverpod_auth_server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-29886 in the wild and no public exploit code.","fix":"Upgrade serverpod_auth_server to 1.2.6 or later.","what":"CVE-2024-29886 is a medium-severity vulnerability in serverpod, published on 27 Mar 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-29886 and fix it if it is affected.\n\nWhat it is: CVE-2024-29886 is a medium-severity vulnerability in serverpod, published on 27 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-29886 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- serverpod_auth_server (Pub): affected all versions; fixed in 1.2.6\n- serverpod_auth_server (Pub): affected all versions; fixed in 1.2.6\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-29886/ (Markdown: https://insights.sbomify.com/CVE-2024-29886/index.md)","id":"CVE-2024-29886","markdown":"https://insights.sbomify.com/CVE-2024-29886/index.md","name":"CVE-2024-29886","record":{"aliases":["GHSA-r75m-26cq-mjxc"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Serverpod backend framework","requires_auth":"none","summary":"Weak password hashing in Serverpod allows attackers to recover passwords via rainbow tables if the database is compromised.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"serverpod","vendor":"serverpod"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-916","name":"Use of Password Hash With Insufficient Computational Effort"}],"description":"Serverpod is an app and web server, built for the Flutter and Dart ecosystem. An issue was identified with the old password hash algorithm that made it susceptible to rainbow attacks if the database was compromised. This vulnerability is fixed by 1.2.6.","ecosystems":["Pub"],"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":"Improved security for stored password hashes","id":"CVE-2024-29886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"Serverpod client accepts any certificate","id":"CVE-2024-29887"},"packages":[{"ecosystem":"Pub","fixed":["1.2.6"],"introduced":["0"],"last_affected":[],"package":"serverpod_auth_server","purl":null,"source":"GHSA-r75m-26cq-mjxc"},{"ecosystem":"Pub","fixed":["1.2.6"],"introduced":["0"],"last_affected":[],"package":"serverpod_auth_server","purl":"pkg:pub/serverpod_auth_server","source":"GHSA-r75m-26cq-mjxc"}],"prev":{"headline":"Reports are still accessible even when `canView()` returns false in silverstripe/reports","id":"CVE-2024-29885"},"products":["serverpod"],"published":"2024-03-27","related":[{"cvss_score":7.4,"headline":"Serverpod client accepts any certificate","id":"CVE-2024-29887","kev_date_added":null,"published":"2024-03-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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["serverpod"]},"summary":"Weak password hashing in Serverpod allows attackers to recover passwords via rainbow tables if the database is compromised.","url":"https://insights.sbomify.com/CVE-2024-29886/"}