PT-2021-15479

CVE-2021-23384

·

تاريخ النشر

2021-05-17

·

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

2022-02-10

الوصف من

CVSS 2.0
5.8
متوسطة
المقاييسAV:N/AC:M/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions koa-remove-trailing-slashes versions prior to 2.0.2
Description The issue allows for Open Redirect via the use of trailing double slashes in the URL when accessing a vulnerable endpoint, such as https://example.com//attacker.example/. The vulnerable code is in index.js::removeTrailingSlashes(), as the web server uses relative URLs instead of absolute URLs.
Recommendations For versions prior to 2.0.2, update to version 2.0.2 or later to resolve the issue. As a temporary workaround, consider modifying the index.js::removeTrailingSlashes() function to handle trailing double slashes correctly, or restrict access to vulnerable endpoints to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-R773-PMW3-F4MR
SNYK-JS-KOAREMOVETRAILINGSLASHES-1085708
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾