CORS security restrictions overridden by less restrictive defaults in hapi before 11.1.4
HackerOne hapi node module
At a glance
When server level, connection level or route level CORS configurations in hapi node module before 11.1.4 are combined and when a higher level config included security restrictions (like origin), a higher level config that included security restrictions (like origin) would have those restrictions overridden by less restrictive defaults (e.g. origin defaults to all origins `*`).
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 1.003%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:HackerOne | hapi node module | Affected versions: <11.1.4 |
| Vendor:hapijs | hapiEnvironments (1)
| Affected versions: < 11.1.4 |
| Vendor:npm | hapi | Affected versions: < 11.1.4 |
| Vendor:hapijs | hapi | Affected versions:< 11.1.4Show full version range for hapi
|
1–4 of 4 · Page 1 of 1
CVSS scores and metrics4
[email protected] · NVD (Primary)Primary5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:Nnvd · Wazuh CTI (cna)5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:Nnvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories7
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences