GHSA-j3g2-m5jj-6336

Suggest an improvement
Source
https://github.com/advisories/GHSA-j3g2-m5jj-6336
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-j3g2-m5jj-6336/GHSA-j3g2-m5jj-6336.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j3g2-m5jj-6336
Aliases
  • CVE-2015-9243
Published
2020-09-01T15:20:00Z
Modified
2023-11-08T03:58:04Z
Summary
Unsafe Merging of CORS Configuration Conflict in hapi
Details

Versions of hapi prior to 11.1.4 are affected by a vulnerability that causes route-level CORS configuration to override connection-level or server-level CORS defaults. This may result in a situation where CORS permissions are less restrictive than intended.

Recommendation

Update hapi to version 11.1.4 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-284"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:09:51Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / hapi

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
11.1.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-j3g2-m5jj-6336/GHSA-j3g2-m5jj-6336.json"