From 01f3ffe719604844781c53d4ca4dfde5b410f212 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:35:51 +0000 Subject: [PATCH] Add CVE-2022-39342 for GHSA-f4mm-2r69-mg5f Add CVE-2022-39342 for GHSA-f4mm-2r69-mg5f --- 2022/39xxx/CVE-2022-39342.json | 87 +++++++++++++++++++++++++++++++--- 1 file changed, 81 insertions(+), 6 deletions(-) diff --git a/2022/39xxx/CVE-2022-39342.json b/2022/39xxx/CVE-2022-39342.json index 15cf69dca72..6f472988e27 100644 --- a/2022/39xxx/CVE-2022-39342.json +++ b/2022/39xxx/CVE-2022-39342.json @@ -1,18 +1,93 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39342", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "OpenFGA Authorization Bypass" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "openfga", + "version": { + "version_data": [ + { + "version_value": "< 0.2.4" + } + ] + } + } + ] + }, + "vendor_name": "openfga" + } + ] + } + }, + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 are vulnerable to authorization bypass under certain conditions. Users whose model has a relation defined as a tupleset (the right hand side of a ‘from’ statement) that involves anything other than a direct relationship (e.g. ‘as self’) are vulnerable. Version 0.2.4 contains a patch for this issue." } ] + }, + "impact": { + "cvss": { + "attackComplexity": "HIGH", + "attackVector": "NETWORK", + "availabilityImpact": "NONE", + "baseScore": 5.9, + "baseSeverity": "MEDIUM", + "confidentialityImpact": "NONE", + "integrityImpact": "HIGH", + "privilegesRequired": "NONE", + "scope": "UNCHANGED", + "userInteraction": "NONE", + "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "CWE-285: Improper Authorization" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "name": "https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f", + "refsource": "CONFIRM", + "url": "https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f" + }, + { + "name": "https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4", + "refsource": "MISC", + "url": "https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4" + }, + { + "name": "https://github.com/openfga/openfga/releases/tag/v0.2.4", + "refsource": "MISC", + "url": "https://github.com/openfga/openfga/releases/tag/v0.2.4" + } + ] + }, + "source": { + "advisory": "GHSA-f4mm-2r69-mg5f", + "discovery": "UNKNOWN" } } \ No newline at end of file