PT-2020-5645
CVE-2020-8165
·
تاريخ النشر
2020-05-26
·
تاريخ التحديث
2025-09-29
الوصف من
CVSS 3.1
9.8
حرجةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Ruby on Rails versions prior to 5.2.4.3
Ruby on Rails versions prior to 6.0.3.1
Description
The issue is related to the deserialization of untrusted data in the MemCacheStore and RedisCacheStore components of Ruby on Rails. This can allow an attacker to potentially execute remote code, access confidential data, and disrupt data integrity. The vulnerability occurs when untrusted user input is written to the cache store using the
raw: true parameter, and then re-reading the result from the cache can evaluate the user input as a Marshalled object instead of plain text. The estimated impact of this issue can range from injecting untrusted Ruby objects into a web application to remote code execution.Recommendations
For Ruby on Rails versions prior to 5.2.4.3, update to version 5.2.4.3 or later.
For Ruby on Rails versions prior to 6.0.3.1, update to version 6.0.3.1 or later.
As a temporary workaround, ensure that all user-provided strings cached using the
raw argument are double-checked to ensure they conform to the expected format.
Consider applying the suggested patch as soon as possible if an update is not feasible.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾