제출 #520182: Open Source libgsf <=1.14.53 Integer Overflow -> Heap Overflow (gsf_prop_settings_collect_va)정보

제목Open Source libgsf <=1.14.53 Integer Overflow -> Heap Overflow (gsf_prop_settings_collect_va)
설명The vulnerability arises from unchecked arithmetic during the dynamic expansion of the parameters array—adding 16 to n_alloced_params near SIZE_MAX can overflow, leading to underallocation and potential out-of-bounds writes to heap memory. void gsf_prop_settings_collect_valist (GType object_type, GsfParam **p_params, size_t *p_n_params, const gchar *first_property_name, va_list var_args) { ... size_t n_params = *p_n_params; size_t n_alloced_params = n_params; ... while (name) { ... if (n_params >= n_alloced_params) { // If n_alloced_params is near SIZE_MAX, adding 16 may overflow. n_alloced_params += 16; params = g_renew (GsfParam, params, n_alloced_params); // underallocation as a result fof the arithmetic } ... params[n_params].name = name; //the 'write' logic, could attempt to derference an offset that isn't mapped, or write to arbitrary addresses on the heap ... n_params++; // another incrementation vector that could lead to an overflow in theory ... } ... }
사용자 ninpwn (UID 82253)
제출2025. 03. 13. PM 09:21 (1 년도 ago)
모더레이션2025. 03. 24. PM 01:46 (11 days later)
상태수락
VulDB 항목300742 [GNOME libgsf 까지 1.14.53 gsf_prop_settings_collect_va n_alloced_params 메모리 손상]
포인트들17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!