PT-2021-17918
CVE-2021-28792
·
تاريخ النشر
2021-03-18
·
تاريخ التحديث
2021-04-26
الوصف من
CVSS 3.1
7.8
عاليةالمقاييسAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions:
Swift Development Environment extension version 2.12.0 and earlier
Description:
The issue allows remote attackers to execute arbitrary code by constructing a malicious workspace with crafted configuration values, including
sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift driver bin, or swift.path.shell, which triggers execution upon opening the workspace.Recommendations:
For versions prior to 2.12.1, update to version 2.12.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of the vulnerable configuration values until a patch is applied. Avoid using the parameters
sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift driver bin, or swift.path.shell in the affected workspace configuration until the issue is resolved. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾