negotiator is an HTTP content negotiator for Node.js and is used by many modules and frameworks including Express and Koa. The header for Accept-Language, when parsed by negotiator 0.6.0 and earlier is vulnerable to Regular Expression Denial of Service via a specially crafted string.
The product does not properly control the allocation and maintenance of a limited resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Negotiator | Negotiator_project | * | 0.6.0 (including) |
Node-negotiator | Ubuntu | artful | * |
Node-negotiator | Ubuntu | bionic | * |
Node-negotiator | Ubuntu | cosmic | * |
Node-negotiator | Ubuntu | devel | * |
Node-negotiator | Ubuntu | disco | * |
Node-negotiator | Ubuntu | eoan | * |
Node-negotiator | Ubuntu | esm-apps/bionic | * |
Node-negotiator | Ubuntu | esm-apps/focal | * |
Node-negotiator | Ubuntu | esm-apps/jammy | * |
Node-negotiator | Ubuntu | esm-apps/noble | * |
Node-negotiator | Ubuntu | esm-apps/xenial | * |
Node-negotiator | Ubuntu | focal | * |
Node-negotiator | Ubuntu | groovy | * |
Node-negotiator | Ubuntu | hirsute | * |
Node-negotiator | Ubuntu | impish | * |
Node-negotiator | Ubuntu | jammy | * |
Node-negotiator | Ubuntu | kinetic | * |
Node-negotiator | Ubuntu | lunar | * |
Node-negotiator | Ubuntu | mantic | * |
Node-negotiator | Ubuntu | noble | * |
Node-negotiator | Ubuntu | oracular | * |
Node-negotiator | Ubuntu | plucky | * |
Node-negotiator | Ubuntu | questing | * |
Node-negotiator | Ubuntu | trusty | * |
Node-negotiator | Ubuntu | xenial | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.