CVE-2015-9236
Last modified
CVE-2015-9236 is a vulnerability of currently unknown severity. Hapi versions less than 11.0.0 implement CORS incorrectly and allowed for configurations that at best returned inconsistent headers and at worst allowed cross-origin activities that were expected to be forbidden. If the connection has CORS enabled but one route has it off, and the route is not GET, the OPTIONS prefetch request will return the default CORS headers and then the actual request will go through and return no CORS headers. EPSS estimates a 1.54% chance of exploitation in the next 30 days.
Description
Hapi versions less than 11.0.0 implement CORS incorrectly and allowed for configurations that at best returned inconsistent headers and at worst allowed cross-origin activities that were expected to be forbidden. If the connection has CORS enabled but one route has it off, and the route is not GET, the OPTIONS prefetch request will return the default CORS headers and then the actual request will go through and return no CORS headers. This defeats the purpose of turning CORS on the route.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hapijs | Hapi | < 11.0.0 |
References
- https://github.com/hapijs/hapi/issues/2840Patch, Third Party Advisory
- https://github.com/hapijs/hapi/issues/2850Release Notes, Third Party Advisory
- https://nodesecurity.io/advisories/45Third Party Advisory
- https://github.com/hapijs/hapi/issues/2840Patch, Third Party Advisory
- https://github.com/hapijs/hapi/issues/2850Release Notes, Third Party Advisory
- https://nodesecurity.io/advisories/45Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2015-9236?
How severe is CVE-2015-9236?
How do I fix CVE-2015-9236?
Are you affected by CVE-2015-9236?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
