GSD-2022-39342
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-39342",
"description": "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 \u2018from\u2019 statement) that involves anything other than a direct relationship (e.g. \u2018as self\u2019) are vulnerable. Version 0.2.4 contains a patch for this issue.",
"id": "GSD-2022-39342"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-39342"
],
"details": "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 \u2018from\u2019 statement) that involves anything other than a direct relationship (e.g. \u2018as self\u2019) are vulnerable. Version 0.2.4 contains a patch for this issue.",
"id": "GSD-2022-39342",
"modified": "2023-12-13T01:19:20.413724Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-39342",
"STATE": "PUBLIC",
"TITLE": "OpenFGA Authorization Bypass"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "openfga",
"version": {
"version_data": [
{
"version_value": "\u003c 0.2.4"
}
]
}
}
]
},
"vendor_name": "openfga"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"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 \u2018from\u2019 statement) that involves anything other than a direct relationship (e.g. \u2018as self\u2019) 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"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c=v0.2.3",
"affected_versions": "All versions up to 0.2.3",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-863",
"CWE-937"
],
"date": "2022-10-25",
"description": "OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 is vulnerable to authorization bypass under certain conditions. Users whose model has a relation defined as a tupleset (the right hand side of a \u00e2\u20ac\u02dcfrom\u00e2\u20ac\u2122 statement) that involves anything other than a direct relationship (e.g. \u00e2\u20ac\u02dcas self\u00e2\u20ac\u2122) is vulnerable. Version 0.2.4 contains a patch for this issue.",
"fixed_versions": [
"v0.2.4"
],
"identifier": "CVE-2022-39342",
"identifiers": [
"GHSA-f4mm-2r69-mg5f",
"CVE-2022-39342"
],
"not_impacted": "All versions after 0.2.3",
"package_slug": "go/github.com/openfga/openfga",
"pubdate": "2022-10-25",
"solution": "Upgrade to version 0.2.4 or above.",
"title": "Incorrect Authorization",
"urls": [
"https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f",
"https://nvd.nist.gov/vuln/detail/CVE-2022-39342",
"https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4",
"https://github.com/openfga/openfga/releases/tag/v0.2.4",
"https://github.com/advisories/GHSA-f4mm-2r69-mg5f"
],
"uuid": "1e01c077-79e0-45cd-9677-dd8281e9dbda",
"versions": [
{
"commit": {
"sha": "2c459d892058dfc4144ffeda30eff4b67d9545ae",
"tags": [
"v0.2.3"
],
"timestamp": "20221006173558"
},
"number": "v0.2.3"
},
{
"commit": {
"sha": "713c4808209dedee9bd2cfda1558c0ad0c71d5bb",
"tags": [
"v0.2.4"
],
"timestamp": "20221024192834"
},
"number": "v0.2.4"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "0.2.4",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-39342"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"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 \u00e2\u20ac\u02dcfrom\u00e2\u20ac\u2122 statement) that involves anything other than a direct relationship (e.g. \u00e2\u20ac\u02dcas self\u00e2\u20ac\u2122) are vulnerable. Version 0.2.4 contains a patch for this issue."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f"
},
{
"name": "https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4"
},
{
"name": "https://github.com/openfga/openfga/releases/tag/v0.2.4",
"refsource": "MISC",
"tags": [
"Release Notes",
"Third Party Advisory"
],
"url": "https://github.com/openfga/openfga/releases/tag/v0.2.4"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-06-27T17:27Z",
"publishedDate": "2022-10-25T17:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…