3.1 CVE-2025-4215
Patch Exploit
A vulnerability was found in gorhill uBlock Origin up to 1.63.3b16. It has been classified as problematic. Affected is the function currentStateChanged of the file src/js/1p-filters.js of the component UI. The manipulation leads to inefficient regular expression complexity. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.63.3b17 is able to address this issue. The patch is identified as eaedaf5b10d2f7857c6b77fbf7d4a80681d4d46c. It is recommended to upgrade the affected component.
https://nvd.nist.gov/vuln/detail/CVE-2025-4215
Categories
CWE-400 : Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource. Certain automated dynamic analysis techniques may be effective in spotting resource exhaustion problems, especially with resources such as processes, memory, and connections. The technique may involve generating a large number of requests to the product within a short time frame. While fuzzing is typically geared toward finding low-level implementation bugs, it can inadvertently find resource exhaustion problems. This can occur when the fuzzer generates a large number of test cases but does not restart the targeted product in between test cases. If an individual test case produces a crash, but it does not do so reliably, then an inability to handle resource exhaustion may be the cause. Design throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perhaps by caching result sets, can help minimize the resources expended. To further limit the potential for a DoS attack, consider tracking the rate of requests received from users and blocking requests that exceed a defined rate threshold. Ensure that protocols have specific limits of scale placed on them. Ensure that all failures in resource allocation place the system into a safe posture. Chain: Python library does not limit the resources used to process images that specify a very large number of bands (CWE-1284), leading to excessive memory consumption (CWE-789) or an integer overflow (CWE-190). Go-based workload orchestrator does not limit resource usage with unauthenticated connections, allowing a DoS by flooding the service Resource exhaustion in distributed OS because of "insufficient" IGMP queue management, as exploited in the wild per CISA KEV. Product allows attackers to cause a crash via a large number of connections. Malformed request triggers uncontrolled recursion, leading to stack exhaustion. Chain: memory leak (CWE-404) leads to resource exhaustion. Driver does not use a maximum width when invoking sscanf style functions, causing stack consumption. Large integer value for a length property in an object causes a large amount of memory allocation. Web application firewall consumes excessive memory when an HTTP request contains a large Content-Length value but no POST data. Product allows exhaustion of file descriptors when processing a large number of TCP packets. Communication product allows memory consumption with a large number of SIP requests, which cause many sessions to be created. TCP implementation allows attackers to consume CPU and prevent new connections using a TCP SYN flood attack. Port scan triggers CPU consumption with processes that attempt to read data from closed sockets. Product allows attackers to cause a denial of service via a large number of directives, each of which opens a separate window. Product allows resource exhaustion via a large number of calls that do not complete a 3-way handshake. Mail server does not properly handle deeply nested multipart MIME messages, leading to stack exhaustion. Chain: anti-virus product encounters a malformed file but returns from a function without closing a file descriptor (CWE-775) leading to file descriptor consumption (CWE-400) and failed scans.
CWE-1333 : Inefficient Regular Expression Complexity
Some regular expression engines have a feature called "backtracking". If the token cannot match, the engine "backtracks" to a position that may result in a different token that can match.
References
134c704f-9b21-4f2e-91b3-4a467353bcc0 Patch Exploit
af854a3a-2127-422b-91ae-364da2661108 Patch Exploit
cna@vuldb.com Patch Exploit
https://github.com/gorhill/uBlock/commit/eaedaf5b10d2f7857c6b77fbf7d4a80681d4... Exploit Patch |
https://github.com/gorhill/uBlock/releases/tag/1.63.3b17 Release Notes |
https://vuldb.com/?ctiid.307194 Permissions Required VDB Entry |
https://vuldb.com/?id.307194 Third Party Advisory VDB Entry |
https://vuldb.com/?submit.562301 Third Party Advisory VDB Entry |
CPE
cpe | start | end |
---|---|---|
Configuration 1 | ||
cpe:2.3:a:ublockorigin:ublock_origin:*:*:*:*:*:*:*:* | < 1.63.3 | |
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta1:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta10:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta11:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta12:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta13:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta14:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta15:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta16:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta2:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta3:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta4:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta5:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta6:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta7:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta8:*:*:*:*:*:* | ||
cpe:2.3:a:ublockorigin:ublock_origin:1.63.3:beta9:*:*:*:*:*:* | ||
Configuration 2 | ||
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
REMEDIATION
Patch
Url |
---|
https://github.com/gorhill/uBlock/commit/eaedaf5b10d2f7857c6b77fbf7d4a80681d4... |
https://github.com/gorhill/uBlock/commit/eaedaf5b10d2f7857c6b77fbf7d4a80681d4... |
EXPLOITS
Exploit-db.com
id | description | date | |
---|---|---|---|
No known exploits |
POC Github
Url |
---|
No known exploits |
Other Nist (github, ...)
Url |
---|
https://github.com/gorhill/uBlock/commit/eaedaf5b10d2f7857c6b77fbf7d4a80681d4... |
https://github.com/gorhill/uBlock/commit/eaedaf5b10d2f7857c6b77fbf7d4a80681d4... |
CAPEC
Common Attack Pattern Enumerations and Classifications
id | description | severity |
---|---|---|
147 | XML Ping of the Death |
Medium |
227 | Sustained Client Engagement |
|
492 | Regular Expression Exponential Blowup |
MITRE
Techniques
id | description |
---|---|
T1499 | Endpoint Denial of Service |
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. |
Mitigations
id | description |
---|---|
M1037 | Leverage services provided by Content Delivery Networks (CDN) or providers specializing in DoS mitigations to filter traffic upstream from services. Filter boundary traffic by blocking source addresses sourcing the attack, blocking ports that are being targeted, or blocking protocols being used for transport. To defend against SYN floods, enable SYN Cookies. |
© 2022 The MITRE Corporation. Esta obra se reproduce y distribuye con el permiso de The MITRE Corporation. |
Cybersecurity needs ?
Strengthen software security from the outset with our DevSecOps expertise
Integrate security right from the start of the software development cycle for more robust applications and greater customer confidence.
Our team of DevSecOps experts can help you secure your APIs, data pipelines, CI/CD chains, Docker containers and Kubernetes deployments.