From ebd3fd8add5bf1e1c6254d3df6ac745d858c89cf Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:11:45 +0000 Subject: [PATCH] Publish Advisories GHSA-6p55-qr3j-mpgq GHSA-6p55-qr3j-mpgq --- .../GHSA-6p55-qr3j-mpgq.json | 69 +++++++++++++++++++ .../GHSA-6p55-qr3j-mpgq.json | 39 ----------- 2 files changed, 69 insertions(+), 39 deletions(-) create mode 100644 advisories/github-reviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json delete mode 100644 advisories/unreviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json diff --git a/advisories/github-reviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json b/advisories/github-reviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json new file mode 100644 index 00000000000..55ae9fb63fb --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-6p55-qr3j-mpgq", + "modified": "2024-11-05T16:10:10Z", + "published": "2024-11-05T00:31:28Z", + "aliases": [ + "CVE-2024-48050" + ], + "summary": "AgentScope uses `eval`", + "details": "In agentscope <=v0.0.4, the file `agentscope\\web\\workstation\\workflow_utils.py` has the function `is_callable_expression`. Within this function, the line `result = eval(s)` poses a security risk as it can directly execute user-provided commands.", + "severity": [ + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "agentscope" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "0.1.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-48050" + }, + { + "type": "WEB", + "url": "https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d" + }, + { + "type": "PACKAGE", + "url": "https://github.com/modelscope/agentscope" + }, + { + "type": "WEB", + "url": "https://github.com/modelscope/agentscope/blob/main/src/agentscope/web/workstation/workflow_utils.py#L11" + }, + { + "type": "WEB", + "url": "https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Code-Execution-via-The-use-of-eval-in-is_callable_expression-and-sanitize_nod-cd4ea6c576da4e0b965ef596855c298d" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-95" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-11-05T16:10:09Z", + "nvd_published_at": "2024-11-04T23:15:04Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json b/advisories/unreviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json deleted file mode 100644 index ef248c361f9..00000000000 --- a/advisories/unreviewed/2024/11/GHSA-6p55-qr3j-mpgq/GHSA-6p55-qr3j-mpgq.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-6p55-qr3j-mpgq", - "modified": "2024-11-05T00:31:28Z", - "published": "2024-11-05T00:31:28Z", - "aliases": [ - "CVE-2024-48050" - ], - "details": "In agentscope <=v0.0.4, the file agentscope\\web\\workstation\\workflow_utils.py has the function is_callable_expression. Within this function, the line result = eval(s) poses a security risk as it can directly execute user-provided commands.", - "severity": [ - - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-48050" - }, - { - "type": "WEB", - "url": "https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d" - }, - { - "type": "WEB", - "url": "https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Code-Execution-via-The-use-of-eval-in-is_callable_expression-and-sanitize_nod-cd4ea6c576da4e0b965ef596855c298d" - } - ], - "database_specific": { - "cwe_ids": [ - - ], - "severity": null, - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2024-11-04T23:15:04Z" - } -} \ No newline at end of file