Skip to content
OpenAdvisories
Medium · 5.9 CVE-2018-20744 EUVD-2022-3267GHSA-927h-x4qj-r242GO-2023-1792

github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error

Published Jan 28, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

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

EcosystemPackageAffectedFixedRecord
Go github.com/gofiber/fiber/v2 >= 2.0.0, < 2.43.0 2.43.0 GHSA-927h-x4qj-r242
Go github.com/rs/cors < 1.5.0 1.5.0 GHSA-927h-x4qj-r242

References