CVE-2018-20744
MEDIUM 5.9CVSS 3.0github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error
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.
- Published
- 28 Jan 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-346
- Also known as
- GHSA-927h-x4qj-r242GO-2023-1792
- Sources
- NVDJSONOSV GHSA-927h-x4qj-r242JSONOSV GO-2023-1792JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go_cors_project | go_corscpe:2.3:a:go_cors_project:go_cors:*:*:*:*:*:*:*:* |
<= 1.3.0 | |
| OSV | Go | github.com/gofiber/fiber/v2 | >= 2.0.0, < 2.43.0 | 2.43.0 |
| OSV | Go | github.com/rs/cors | < 1.5.0 | 1.5.0 |
References
- http://www.securityfocus.com/bid/106834 · Third Party Advisory
- https://github.com/rs/cors/issues/55 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-20744 · ADVISORY
- https://github.com/gofiber/fiber/issues/2338 · WEB
- https://github.com/gofiber/fiber/pull/2339 · WEB
- https://github.com/rs/cors/pull/57 · WEB, FIX
- https://github.com/gofiber/fiber · PACKAGE
- https://web.archive.org/web/20200227091122/http://www.securityfocus.com/bid/106834 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 28 Jan 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Jun 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)