From f524060a42df49c6c930515a894c015db9187bd6 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 19:37:16 +0000 Subject: [PATCH] Publish GHSA-7c58-g782-9j38 --- .../GHSA-7c58-g782-9j38.json | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 advisories/github-reviewed/2025/05/GHSA-7c58-g782-9j38/GHSA-7c58-g782-9j38.json diff --git a/advisories/github-reviewed/2025/05/GHSA-7c58-g782-9j38/GHSA-7c58-g782-9j38.json b/advisories/github-reviewed/2025/05/GHSA-7c58-g782-9j38/GHSA-7c58-g782-9j38.json new file mode 100644 index 00000000000..ee9cec05f9c --- /dev/null +++ b/advisories/github-reviewed/2025/05/GHSA-7c58-g782-9j38/GHSA-7c58-g782-9j38.json @@ -0,0 +1,94 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-7c58-g782-9j38", + "modified": "2025-05-05T19:35:37Z", + "published": "2025-05-05T19:35:37Z", + "aliases": [ + "CVE-2025-46731" + ], + "summary": "Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI", + "details": "Craft CMS contains a potential remote code execution vulnerability via Twig SSTI. You must have administrator access and `ALLOW_ADMIN_CHANGES` must be enabled for this to work.\n\nhttps://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production\n\nNote: This is a follow-up to https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv\n\nUsers should update to the patched versions (4.14.13 and 5.6.15) to mitigate the issue.\n\n### References\nhttps://github.com/craftcms/cms/pull/17026", + "severity": [ + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "craftcms/cms" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "4.0.0-RC1" + }, + { + "fixed": "4.14.13" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 4.14.12" + } + }, + { + "package": { + "ecosystem": "Packagist", + "name": "craftcms/cms" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "5.0.0-RC1" + }, + { + "fixed": "5.6.15" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 5.6.14" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38" + }, + { + "type": "WEB", + "url": "https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv" + }, + { + "type": "WEB", + "url": "https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production" + }, + { + "type": "PACKAGE", + "url": "https://github.com/craftcms/cms" + }, + { + "type": "WEB", + "url": "http://github.com/craftcms/cms/pull/17026" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-1336" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-05-05T19:35:37Z", + "nvd_published_at": null + } +} \ No newline at end of file