# CVE-2022-39340: GO-2022-1079 - OpenFGA subject to Information Disclosure via streamed-list-objects endpoint in github.com/openfga/openfga

Source: https://junglewise.ai/threats/cve-2022-39340-openfga-subject-to-information-disclosure-via-streamed-list  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2022-39340 · Severity: low · CVSS 3.1 · Published 2024-08-21

OpenFGA subject to Information Disclosure via streamed-list-objects endpoint in github.com/openfga/openfga

Technologies: [github.com/openfga/openfga (Go)](https://junglewise.ai/threats/technologies/github-com-openfga-openfga). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

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

**How severe is CVE-2022-39340?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

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

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

**Am I affected by CVE-2022-39340?** Check whether you run github.com/openfga/openfga (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/openfga/openfga (Go): upgrade to 0.2.4 or later

  ```sh
  go get github.com/openfga/openfga@v0.2.4
  ```


## Affected products

- github.com/openfga/openfga (Go) SEMVER:introduced=0,fixed=0.2.4

## Identifiers

- CVE-2022-39340
- GHSA-95x7-mh78-7w2r
- GO-2022-1079

## Related threats

- [OpenFGA ListUsers incorrect authorization in intersection exclusions](https://junglewise.ai/threats/cve-2026-61709-openfga-listusers-incorrect-authorization-in-intersection)
- [OpenFGA improper authentication via JWT audience skip in OIDC authenticator](https://junglewise.ai/threats/cve-2026-55689-openfga-improper-authentication-via-jwt-audience-skip-in-oidc)
- [OpenFGA case sensitivity mismatch in MySQL datastore](https://junglewise.ai/threats/cve-2026-55170-openfga-case-sensitivity-mismatch-in-mysql-datastore)
- [OpenFGA cache key collision in iterator caching](https://junglewise.ai/threats/cve-2026-48096-openfga-cache-key-collision-in-iterator-caching)
- [OpenFGA has Improper Policy Enforcement](https://junglewise.ai/threats/cve-2026-41131-openfga-has-improper-policy-enforcement)
