CVE-2018-20744
MEDIUM5.9EPSS 0.15%github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error
Published: 5/14/2022Modified: 5/20/2024
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 (3)
- Go/github.com/gofiber/fiber/v2>= 2.0.0, < 2.43.0
- Go/github.com/rs/corsfrom 0, < 1.5.0
- Go/github.com/rs/corsfrom 0, < 1.5.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-20744
- PATCHhttps://github.com/gofiber/fiber
- WEBhttps://github.com/gofiber/fiber/issues/2338
- WEBhttps://github.com/gofiber/fiber/pull/2339
- WEBhttps://github.com/rs/cors/issues/55
- WEBhttps://github.com/rs/cors/pull/57
- WEBhttps://web.archive.org/web/20200227091122/http://www.securityfocus.com/bid/106834
- WEBhttps://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf