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.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.

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