{"answers":{"affected":"3 open source packages ship an affected version, including github.com/brokercap/Bifrost. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-39219 exists.","fix":"Upgrade github.com/brokercap/Bifrost to 1.8.7-release or later.","what":"CVE-2022-39219 is a high-severity authentication bypass vulnerability in brokercap Bifrost, published on 26 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-39219 and fix it if it is affected.\n\nWhat it is: CVE-2022-39219 is a high-severity authentication bypass vulnerability in brokercap Bifrost, published on 26 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-39219 exists.\n\nAffected packages and fixed versions:\n- github.com/brokercap/Bifrost (Go): affected all versions; fixed in 1.8.7-release\n- github.com/brokercap/Bifrost (Go): affected all versions; fixed in 1.8.7-release\n- github.com/brokercap/Bifrost (Go): affected all versions; fixed in 1.8.7-release\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-39219/ (Markdown: https://insights.sbomify.com/CVE-2022-39219/index.md)","id":"CVE-2022-39219","markdown":"https://insights.sbomify.com/CVE-2022-39219/index.md","name":"CVE-2022-39219","record":{"aliases":["GHSA-p6fh-xc6r-g5hw","GO-2022-1023"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Go database middleware","requires_auth":"low_privilege","summary":"Attackers with read-only access can bypass write permission limits in Bifrost when using HTTP basic authentication, allowing unauthorized data modification.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"bifrost","vendor":"xbifrost"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Bifrost is a middleware package which can synchronize MySQL/MariaDB binlog data to other types of databases. Versions 1.8.6-release and prior are vulnerable to authentication bypass when using HTTP basic authentication. This may allow group members who only have read permissions to write requests when they are normally forbidden from doing so. Version 1.8.7-release contains a patch. There are currently no known workarounds.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Bifrost users using basic authntication can bypass write permission limit","id":"CVE-2022-39219","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"XSS Vulnerabilities in WebClient","id":"CVE-2022-39220"},"packages":[{"ecosystem":"Go","fixed":["1.8.7-release"],"introduced":["0"],"last_affected":[],"package":"github.com/brokercap/Bifrost","purl":null,"source":"GHSA-p6fh-xc6r-g5hw"},{"ecosystem":"Go","fixed":["1.8.7-release"],"introduced":["0"],"last_affected":[],"package":"github.com/brokercap/Bifrost","purl":"pkg:golang/github.com/brokercap/Bifrost","source":"GHSA-p6fh-xc6r-g5hw"},{"ecosystem":"Go","fixed":["1.8.7-release"],"introduced":["0"],"last_affected":[],"package":"github.com/brokercap/Bifrost","purl":"pkg:golang/github.com/brokercap/Bifrost","source":"GO-2022-1023"}],"prev":{"headline":"Random number seed fixed during compilation","id":"CVE-2022-39218"},"products":["Bifrost"],"published":"2022-09-26","related":[{"cvss_score":8.8,"headline":"Brokercap Bifrost vulnerable to authentication bypass for admin and monitor user groups","id":"CVE-2022-39267","kev_date_added":null,"published":"2022-10-19"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["brokercap"]},"summary":"Attackers with read-only access can bypass write permission limits in Bifrost when using HTTP basic authentication, allowing unauthorized data modification.","url":"https://insights.sbomify.com/CVE-2022-39219/"}