{"answers":{"affected":"2 open source packages ship an affected version, including github.com/russellhaering/goxmldsig.","exploited":"There is no known exploitation of GHSA-rrfw-hg9m-j47h in the wild and no public exploit code.","fix":"Upgrade github.com/russellhaering/goxmldsig to 0.4.2 or later.","what":"GHSA-rrfw-hg9m-j47h is an authentication bypass vulnerability in github.com/russellhaering/goxmldsig, published on 24 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-rrfw-hg9m-j47h and fix it if it is affected.\n\nWhat it is: GHSA-rrfw-hg9m-j47h is an authentication bypass vulnerability in github.com/russellhaering/goxmldsig, published on 24 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-rrfw-hg9m-j47h in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/russellhaering/goxmldsig (Go): affected all versions; fixed in 0.4.2\n- github.com/russellhaering/goxmldsig (Go): affected all versions; fixed in 0.4.2\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/GHSA-rrfw-hg9m-j47h/ (Markdown: https://insights.sbomify.com/GHSA-rrfw-hg9m-j47h/index.md)","id":"GHSA-rrfw-hg9m-j47h","markdown":"https://insights.sbomify.com/GHSA-rrfw-hg9m-j47h/index.md","name":"GHSA-rrfw-hg9m-j47h","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go SAML library","requires_auth":"none","summary":"An authentication bypass in the goxmldsig library allows attackers to forge SAML assertions, potentially leading to unauthorized access.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nAn authentication bypass exists in the [goxmldsig](https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7) this library uses to determine if SAML assertions are genuine. An attacker could craft a SAML response that would appear to be valid but would not have been genuinely issued by the IDP.\n\n### Patches\n\nVersion 0.4.2 bumps the dependency which should fix the issue.\n\n### For more information\n\nPlease see [the advisory in goxmldsig](https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7)\n\n## Credits\n\nThe original vulnerability was discovered by @jupenur. Thanks to @russellhaering for the heads up.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Signature Validation Bypass","id":"GHSA-rrfw-hg9m-j47h","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2021"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.4.2"],"introduced":["0"],"last_affected":[],"package":"github.com/russellhaering/goxmldsig","purl":null,"source":"GHSA-rrfw-hg9m-j47h"},{"ecosystem":"Go","fixed":["0.4.2"],"introduced":["0"],"last_affected":[],"package":"github.com/russellhaering/goxmldsig","purl":"pkg:golang/github.com/russellhaering/goxmldsig","source":"GHSA-rrfw-hg9m-j47h"}],"products":null,"published":"2021-05-24","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An authentication bypass in the goxmldsig library allows attackers to forge SAML assertions, potentially leading to unauthorized access.","url":"https://insights.sbomify.com/GHSA-rrfw-hg9m-j47h/"}