{"answers":{"affected":"4 open source packages ship an affected version, including joelbutcher/socialstream.","exploited":"There is no known exploitation of CVE-2024-56329 in the wild and no public exploit code.","fix":"Upgrade joelbutcher/socialstream to a fixed version for your release line: 5.6.0 or 6.2.0.","what":"CVE-2024-56329 is a high-severity authentication bypass vulnerability in joelbutcher socialstream, published on 20 Dec 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-56329 and fix it if it is affected.\n\nWhat it is: CVE-2024-56329 is a high-severity authentication bypass vulnerability in joelbutcher socialstream, published on 20 Dec 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-56329 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- joelbutcher/socialstream (Packagist): affected all versions; fixed in 5.6.0\n- joelbutcher/socialstream (Packagist): affected all versions; fixed in 5.6.0\n- joelbutcher/socialstream (Packagist): affected from 6.0.0; fixed in 6.2.0\n- joelbutcher/socialstream (Packagist): affected from 6.0.0; fixed in 6.2.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-56329/ (Markdown: https://insights.sbomify.com/CVE-2024-56329/index.md)","id":"CVE-2024-56329","markdown":"https://insights.sbomify.com/CVE-2024-56329/index.md","name":"CVE-2024-56329","record":{"aliases":["GHSA-3q97-vjpp-c8rp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Laravel Socialite package","requires_auth":"none","summary":"Attackers can hijack accounts by linking social profiles without user confirmation, especially if stateless mode is enabled. Developers must upgrade to v6.2.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.9,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Socialstream is a third-party package for Laravel Jetstream. It replaces the published authentication and profile scaffolding provided by Laravel Jetstream, with scaffolding that has support for Laravel Socialite. When linking a social account to an already authenticated user, the lack of a confirmation step introduces a security risk. This is exacerbated if -\u003estateless() is used in the Socialite configuration, bypassing state verification and making the exploit easier. Developers should ensure that users explicitly confirm account linking and avoid configurations that skip critical security checks. Socialstream v6.2 introduces a new custom route that requires a user to \"Confirm\" or \"Deny\" a request to link a social account. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["Packagist"],"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":"Account Takeover Vulnerability in Social Account Linking in joelbutcher/socialstream","id":"CVE-2024-56329","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":4,"n_references":2,"next":{"headline":"Session VNC may be accessed by other sessions on the same host in stardust","id":"CVE-2024-56330"},"packages":[{"ecosystem":"Packagist","fixed":["5.6.0"],"introduced":["0"],"last_affected":[],"package":"joelbutcher/socialstream","purl":null,"source":"GHSA-3q97-vjpp-c8rp"},{"ecosystem":"Packagist","fixed":["5.6.0"],"introduced":["0"],"last_affected":[],"package":"joelbutcher/socialstream","purl":"pkg:composer/joelbutcher/socialstream","source":"GHSA-3q97-vjpp-c8rp"},{"ecosystem":"Packagist","fixed":["6.2.0"],"introduced":["6.0.0"],"last_affected":[],"package":"joelbutcher/socialstream","purl":null,"source":"GHSA-3q97-vjpp-c8rp"},{"ecosystem":"Packagist","fixed":["6.2.0"],"introduced":["6.0.0"],"last_affected":[],"package":"joelbutcher/socialstream","purl":"pkg:composer/joelbutcher/socialstream","source":"GHSA-3q97-vjpp-c8rp"}],"prev":{"headline":"HTMLi(XSS without CSP) via Onebox urls in Discourse","id":"CVE-2024-56328"},"products":["socialstream"],"published":"2024-12-20","related":[],"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":"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-12-24","vendors":["joelbutcher"]},"summary":"Attackers can hijack accounts by linking social profiles without user confirmation, especially if stateless mode is enabled. Developers must upgrade to v6.2.","url":"https://insights.sbomify.com/CVE-2024-56329/"}