{"answers":{"affected":"3 open source packages ship an affected version, including github.com/pomerium/pomerium. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-29651 in the wild and no public exploit code.","fix":"Upgrade github.com/pomerium/pomerium to 0.13.4 or later.","what":"CVE-2021-29651 is a medium-severity vulnerability in n/a, published on 2 Apr 2021. 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-2021-29651 and fix it if it is affected.\n\nWhat it is: CVE-2021-29651 is a medium-severity vulnerability in n/a, published on 2 Apr 2021. 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-2021-29651 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/pomerium/pomerium (Go): affected all versions; fixed in 0.13.4\n- github.com/pomerium/pomerium (Go): affected all versions; fixed in 0.13.4\n- github.com/pomerium/pomerium (Go): affected all versions; fixed in 0.13.4\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-2021-29651/ (Markdown: https://insights.sbomify.com/CVE-2021-29651/index.md)","id":"CVE-2021-29651","markdown":"https://insights.sbomify.com/CVE-2021-29651/index.md","name":"CVE-2021-29651","record":{"aliases":["GHSA-35vc-w93w-75c2","GO-2022-0783"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Pomerium identity-aware proxy","requires_auth":"none","summary":"An attacker can redirect users to malicious sites via Pomerium, potentially facilitating phishing attacks.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pomerium","vendor":"pomerium"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Pomerium before 0.13.4 has an Open Redirect (issue 1 of 2).","ecosystems":["Go"],"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":"JWT leak via Open Redirect in Programmatic access","id":"CVE-2021-29651","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2021"},"n_packages":3,"n_references":1,"next":{"headline":"pomerium_signature is not verified in middleware in github.com/pomerium/pomerium","id":"CVE-2021-29652"},"packages":[{"ecosystem":"Go","fixed":["0.13.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pomerium/pomerium","purl":null,"source":"GHSA-35vc-w93w-75c2"},{"ecosystem":"Go","fixed":["0.13.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pomerium/pomerium","purl":"pkg:golang/github.com/pomerium/pomerium","source":"GHSA-35vc-w93w-75c2"},{"ecosystem":"Go","fixed":["0.13.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pomerium/pomerium","purl":"pkg:golang/github.com/pomerium/pomerium","source":"GO-2022-0783"}],"prev":{"headline":"Race condition in n/a","id":"CVE-2021-29650"},"products":["n/a"],"published":"2021-04-02","related":[{"cvss_score":10,"headline":"Incorrect Authorization with specially crafted requests","id":"CVE-2023-33189","kev_date_added":null,"published":"2023-05-30"},{"cvss_score":6.5,"headline":"Exposure of Sensitive Information in Pomerium","id":"CVE-2022-24797","kev_date_added":null,"published":"2022-03-31"},{"cvss_score":6.1,"headline":"pomerium_signature is not verified in middleware in github.com/pomerium/pomerium","id":"CVE-2021-29652","kev_date_added":null,"published":"2021-04-02"},{"cvss_score":5.7,"headline":"Pomerium exposed OAuth2 access and ID tokens in user info endpoint response","id":"CVE-2024-39315","kev_date_added":null,"published":"2024-07-02"},{"cvss_score":5.3,"headline":"OIDC claims not updated from Identity Provider in Pomerium","id":"CVE-2021-41230","kev_date_added":null,"published":"2021-11-05"}],"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":"Go Vulnerability Database","prefix":"GO"},{"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-03","vendors":["n/a"]},"summary":"An attacker can redirect users to malicious sites via Pomerium, potentially facilitating phishing attacks.","url":"https://insights.sbomify.com/CVE-2021-29651/"}