GHSA-927h-x4qj-r242

Suggest an improvement
Source
https://github.com/advisories/GHSA-927h-x4qj-r242
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-927h-x4qj-r242/GHSA-927h-x4qj-r242.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-927h-x4qj-r242
Aliases
Published
2022-05-14T01:33:06Z
Modified
2024-05-20T21:53:21Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error
Details

The Olivier Poitrey Go CORS handler through 1.3.0 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.

Database specific
{
    "nvd_published_at": "2019-01-28T08:29:00Z",
    "cwe_ids": [
        "CWE-346"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-14T14:53:20Z"
}
References

Affected packages

Go / github.com/gofiber/fiber/v2

Package

Name
github.com/gofiber/fiber/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/gofiber/fiber/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.43.0

Go / github.com/rs/cors

Package

Name
github.com/rs/cors
View open source insights on deps.dev
Purl
pkg:golang/github.com/rs/cors

Affected ranges

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