Gửi #562301: uBlock @gorhill/ubo-core >=npm_0.1.11 Inefficient Regular Expression Complexitythông tin

tiêu đềuBlock @gorhill/ubo-core >=npm_0.1.11 Inefficient Regular Expression Complexity
Mô tảA potential Regular Expression Denial of Service (ReDoS)vulnerability in the 1p-filters.js script of uBlock Origin. The vulnerabilityoccurs due to the use of the regular expression /\s+$/, which is used to removetrailing whitespace. This issue can lead to a denial of service when processingstrings with a large number of trailing spaces, potentially causing a browser tofreeze. The regular expression /\s+$/ is applied to remove trailing whitespace in user‑provided content. However, when the content has a large number of spaces(e.g., ~100,000), this pattern causes excessive backtracking in the regularexpression engine, resulting in performance degradation and UI freezing. This is a classic ReDoS attack vector.
Nguồn⚠️ https://github.com/gorhill/uBlock/commit/eaedaf5b10d2f7857c6b77fbf7d4a80681d4d46c
Người dùng
 DayShift (UID 80963)
Đệ trình19/04/2025 10:04 (cách đây 1 Năm)
Kiểm duyệt02/05/2025 14:53 (13 days later)
Trạng tháiđược chấp nhận
Mục VulDB307194 [gorhill uBlock Origin đến 1.63.3b16 UI src/js/1p-filters.js currentStateChanged Từ chối dịch vụ]
điểm20

Might our Artificial Intelligence support you?

Check our Alexa App!