# CVE-2019-9039: SQL Injection in Couchbase Sync Gateway

Source: https://junglewise.ai/threats/cve-2019-9039-sql-injection-in-couchbase-sync-gateway  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-15  
License: CC BY 4.0 with a link back

CVE-2019-9039 · Severity: low · CVSS 3 · Published 2022-02-15

SQL Injection in Couchbase Sync Gateway

Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2019-9039 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-9039 being exploited in the wild.

**How severe is CVE-2019-9039?** Low severity, with a CVSS score of 3, published 15 February 2022.

**Which products and versions are affected?** github.com/couchbase/sync_gateway (Go) SEMVER:introduced=0,fixed=2.5.0.

**Is there a fix for CVE-2019-9039?** Yes. github.com/couchbase/sync_gateway (Go): upgrade to 2.5.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-9039?** Check whether you run github.com/couchbase/sync_gateway (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/couchbase/sync_gateway (Go): upgrade to 2.5.0 or later

  ```sh
  go get github.com/couchbase/sync_gateway@v2.5.0
  ```


## Affected products

- github.com/couchbase/sync_gateway (Go) SEMVER:introduced=0,fixed=2.5.0

## Identifiers

- CVE-2019-9039
- GHSA-g622-r636-qfqh

## Related threats

- [Couchbase Sync Gateway cleartext password disclosure in logs](https://junglewise.ai/threats/cve-2025-52490-couchbase-sync-gateway-cleartext-password-disclosure-in-logs)
