PT-2020-13094

CVE-2020-12283

·

تاريخ النشر

2020-04-30

·

تاريخ التحديث

2021-12-20

الوصف من

CVSS 3.1
6.1
متوسطة
المقاييسAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Sourcegraph versions prior to 3.15.1
Description The issue is related to a vulnerable authentication workflow due to improper validation in the SafeRedirectURL method. This method, located in cmd/frontend/auth/redirect.go, fails to properly validate URLs, which can be exploited. For example, the substring //foo//example.com can be used to bypass validation.
Recommendations For versions prior to 3.15.1, update to version 3.15.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the SafeRedirectURL method in cmd/frontend/auth/redirect.go to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-MX43-R985-5H4M
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾