{"id":"CVE-2018-20744","aliases":["EUVD-2022-3267","GHSA-927h-x4qj-r242","GO-2023-1792"],"status":"published","title":"github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error","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.","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00717,"percentile":0.54104,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-346"],"published":"2019-01-28T08:00:00Z","modified":"2026-10-20T10:49:54Z","fixes":[{"ecosystem":"Go","package":"github.com/gofiber/fiber/v2","fixed_in":["2.43.0"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/rs/cors","fixed_in":["1.5.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/gofiber/fiber/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.43.0"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/rs/cors","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/gofiber/fiber/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.43.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/rs/cors","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/rs/cors","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.0"}]}]}],"products":[{"vendor":"go_cors_project","product":"go_cors"}],"references":[{"url":"http://www.securityfocus.com/bid/106834","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/rs/cors/issues/55","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20744","tags":["advisory"]},{"url":"https://github.com/gofiber/fiber/issues/2338","tags":["web"]},{"url":"https://github.com/gofiber/fiber/pull/2339","tags":["web"]},{"url":"https://web.archive.org/web/20200227091122/http://www.securityfocus.com/bid/106834","tags":["web"]},{"url":"https://github.com/rs/cors/pull/57","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-927h-x4qj-r242"},{"url":"https://github.com/gofiber/fiber","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-20744","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.","status":"published","published":"2019-01-28T08:00:00Z","modified":"2024-08-05T12:12:28.319Z","updated_at":"2026-11-02T14:35:00.237825Z"}],"euvd":[{"id":"EUVD-2022-3267","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.","status":"published","published":"2019-01-28T08:00:00Z","modified":"2024-08-05T12:12:28Z","updated_at":"2026-11-03T02:39:29.769885Z"}],"ghsa":[{"id":"GHSA-927h-x4qj-r242","title":"github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error","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.","status":"published","published":"2022-05-14T01:33:06Z","modified":"2024-05-20T21:53:21Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-346"],"updated_at":"2026-11-02T14:37:51.549437Z"}],"nvd":[{"id":"CVE-2018-20744","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.","status":"published","published":"2019-01-28T08:29:00.23Z","modified":"2026-06-17T01:53:23.383Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-346"],"updated_at":"2026-11-02T14:04:53.728218Z"}],"osv":[{"id":"CVE-2018-20744","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.","status":"published","published":"2019-01-28T08:29:00.23Z","modified":"2026-10-20T10:49:54.743515008Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"GHSA-927h-x4qj-r242","title":"github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error","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.","status":"published","published":"2022-05-14T01:33:06Z","modified":"2024-05-20T21:53:21Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-346"],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"GO-2023-1792","title":"Insecure wildcard CORS policy in github.com/rs/cors","description":"The CORS handler 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.","status":"published","published":"2023-06-08T18:30:06Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
