PT-2021-24392

تاريخ النشر

2021-04-13

·

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

2021-04-13

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

Name of the Vulnerable Software and Affected Versions: Laravel Core versions prior to 0.3.7-beta
Description: The issue involves the leaking of the password field during the serialization of the User model. Although the password is in encrypted form, it can be printed if the User model is requested in JSON or array form.
Recommendations: For versions prior to 0.3.7-beta, add the 'password' field to the Users model file in the hidden array by modifying the $hidden property in the User model to include 'password', as shown in the example:
php
protected $hidden = [
  'remember token',
  'password',
];
Alternatively, update to version 0.3.7-beta or later to resolve the issue.
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-7FJP-G4M7-FX23
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾