ADVISORIES

GitHub Advisory Database

GHSA-927h-x4qj-r242

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/gofiber/fiber/v2
From 2.0.0 before 2.43.0 (fixed in 2.43.0)
Gogithub.com/rs/cors
All versions before 1.5.0 (fixed in 1.5.0)

References