{"id":"GHSA-95x7-mh78-7w2r","summary":"OpenFGA subject to Information Disclosure via streamed-list-objects endpoint","details":"### Overview\nDuring our internal security assessment, it was discovered that `streamed-list-objects` endpoint was not validating the authorization header resulting in the disclosure of objects in the store.\n\n### Am I Affected?\nYou are affected by this vulnerability if you are using `openfga/openfga` version `v0.2.3` or prior and you are exposing the OpenFGA service to the internet.\n\n### How to fix that?\nUpgrade to version `v0.2.4`.\n\n### Backward Compatibility\nThis update is backward compatible.","aliases":["CVE-2022-39340","GO-2022-1079"],"modified":"2024-08-21T16:28:43.570404Z","published":"2022-10-25T20:13:38Z","database_specific":{"github_reviewed_at":"2022-10-25T20:13:38Z","nvd_published_at":"2022-10-25T17:15:00Z","cwe_ids":["CWE-285","CWE-862","CWE-863"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/openfga/openfga/security/advisories/GHSA-95x7-mh78-7w2r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39340"},{"type":"WEB","url":"https://github.com/openfga/openfga/commit/779d73d4b6d067ee042ec9b59fec707eed71e42f"},{"type":"PACKAGE","url":"https://github.com/openfga/openfga"},{"type":"WEB","url":"https://github.com/openfga/openfga/releases/tag/v0.2.4"}],"affected":[{"package":{"name":"github.com/openfga/openfga","ecosystem":"Go","purl":"pkg:golang/github.com/openfga/openfga"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.4"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.2.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-95x7-mh78-7w2r/GHSA-95x7-mh78-7w2r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}