CVE-2023-46124: Ethyca fides Fides Server-Side Request Forgery Vulnerability Vulnerability
HIGHCVE-2023-46124 is a HIGH (CVSS 8.2) fides server-side request forgery vulnerability vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Ethyca fides libraries in the PyPI ecosystem. The issue involves fides server-side request forgery vulnerability in custom integration upload. Remediation is available by upgrading affected packages to version 2.22.1.
CVE-2023-46124 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L).
How to Fix CVE-2023-46124
To remediate this vulnerability, upgrade all affected Ethyca fides dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install ethyca-fides>=2.22.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ethyca-fides
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-46124, inspect your installed packages using pip:
pip show ethyca-fides
Analyze the terminal output to locate any version of Ethyca fides in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.22.1), your application is affected.
Note: The pip show ethyca-fides command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Ethyca fides, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-46124 Affected Ethyca fides Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ethyca-fides
|
PyPI |
< 2.22.1
|
2.22.1
|
References
Frequently Asked Questions
What is CVE-2023-46124?
Which Ethyca fides versions are affected?
What version fixes CVE-2023-46124?
Is ethyca-fides affected?
What is the CVSS score of CVE-2023-46124?
What CWE is associated with CVE-2023-46124?
How can I check PyPI dependencies for CVE-2023-46124?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jq3w-9mgf-43m4",
"modified" : "2023-10-31T21:20:15Z",
"published" : "2023-10-24T02:14:30Z",
"aliases" : [ "CVE-2023-46124" ],
"summary" : "Fides Server-Side Request Forgery Vulnerability in Custom Integration Upload",
"details" : "### Impact\n\nThe Fides web application allows a custom integration to be uploaded as a ZIP file containing configuration and dataset definitions in YAML format. \n\nIt was discovered that specially crafted YAML dataset and config files allow a malicious user to perform arbitrary requests to internal systems and exfiltrate data outside the environment (also known as a Server-Side Request Forgery). The application does not perform proper validation to block attempts to connect to internal (including localhost) resources.\n\nExploitation is limited to API clients with the `CONNECTOR_TEMPLATE_REGISTER` authorization scope. In the Fides Admin UI this scope is restricted to highly privileged users, specifically root users and users with the owner role.\n\n### Patches\nThe vulnerability has been patched in Fides version `2.22.1`. Users are advised to upgrade to this version or later to secure their systems against this threat.\n\n### Workarounds\nThere are no workarounds.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ethyca-fides"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.22.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ethyca/fides/security/advisories/GHSA-jq3w-9mgf-43m4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-46124"
}, {
"type" : "WEB",
"url" : "https://github.com/ethyca/fides/commit/cd344d016b1441662a61d0759e7913e8228ed1ee"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ethyca/fides"
}, {
"type" : "WEB",
"url" : "https://github.com/ethyca/fides/releases/tag/2.22.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-24T02:14:30Z",
"nvd_published_at" : "2023-10-25T18:17:36Z"
}
}