{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-0645 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-0645 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-0645 is a medium-severity vulnerability in posthog/posthog, published on 19 Apr 2022. 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-2022-0645 and fix it if it is affected.\n\nWhat it is: CVE-2022-0645 is a medium-severity vulnerability in posthog/posthog, published on 19 Apr 2022. 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-2022-0645 in the wild and no public exploit code.\n\nAffected product: posthog/posthog. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2022-0645/ (Markdown: https://insights.sbomify.com/CVE-2022-0645/index.md)","id":"CVE-2022-0645","markdown":"https://insights.sbomify.com/CVE-2022-0645/index.md","name":"CVE-2022-0645","record":{"aliases":["GHSA-6xh2-f372-cf5m"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"PostHog analytics platform","requires_auth":"none","summary":"An open redirect in PostHog allows attackers to redirect users to malicious sites via the authorize_and_redirect endpoint.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"posthog","vendor":"posthog"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Open redirect vulnerability via endpoint authorize_and_redirect/?redirect= in GitHub repository posthog/posthog prior to 1.34.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Open redirect vulnerability via endpoint authorize_and_redirect/?redirect= in posthog/posthog","id":"CVE-2022-0645","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Use after free in Kernel","id":"CVE-2022-0646"},"packages":[],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2022-0644"},"products":["posthog/posthog"],"published":"2022-04-19","related":[{"cvss_score":7.1,"headline":"PostHog ClickHouse Table Functions SQL Injection Remote Code Execution Vulnerability","id":"CVE-2025-1520","kev_date_added":null,"published":"2025-04-23"},{"cvss_score":7.1,"headline":"PostHog slack_incoming_webhook Server-Side Request Forgery Information Disclosure Vulnerability","id":"CVE-2025-1521","kev_date_added":null,"published":"2025-04-23"},{"cvss_score":7.1,"headline":"PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability","id":"CVE-2025-1522","kev_date_added":null,"published":"2025-04-23"},{"cvss_score":7.1,"headline":"PostHog database_schema Server-Side Request Forgery Information Disclosure Vulnerability","id":"CVE-2024-9710","kev_date_added":null,"published":"2024-11-22"},{"cvss_score":4.8,"headline":"Authenticated PostHog users vulnerable to SSRF","id":"CVE-2023-46746","kev_date_added":null,"published":"2023-12-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["posthog"]},"summary":"An open redirect in PostHog allows attackers to redirect users to malicious sites via the authorize_and_redirect endpoint.","url":"https://insights.sbomify.com/CVE-2022-0645/"}