langgenius/dify version 0.10.1 contains a Server-Side Request Forgery (SSRF) vulnerability in the test functionality for the Create Custom Tool option via the REST API POST /console/api/workspaces/current/tool-provider/api/test/pre. Attackers can set the url in the servers dictionary in OpenAI's schema with arbitrary URL targets, allowing them to abuse the victim server's credentials to access unauthorized web resources.
{
"cna_assigner": "@huntr_ai",
"cwe_ids": [
"CWE-918"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12775.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:langgenius:dify:0.10.1:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0.10.1"
},
{
"last_affected": "0.10.1"
}
],
"source": "CPE_STRING"
}
]
}