PT-2026-83434 · Rubygems · Rubygems
CVSS v3.1
7.1
عالية
| المتجه | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
RubyGems versions prior to 4.0.13
Description
RubyGems fails to re-validate path containment after filesystem symlink resolution during gem extraction. If a pre-existing symlink within the destination directory points outside the extraction root, files can be written outside the intended destination directory, bypassing the extraction safety boundary. This occurs because the system does not properly verify the real path of the parent directory before writing, which can be mitigated by raising a
Gem::Package::PathError when the path escapes the destination directory.Recommendations
Update RubyGems to version 4.0.13 or later.
استغلال
إصلاح
Link Following
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾
تصنيف نقاط الضعف
المعرّفات ذات الصلة
المنتجات المتأثرة
Rubygems