Live threats

All CVEs / Go Cors Project

CVE-2018-20744Go Cors Project Go Cors

Medium 5.9 No auth needed

Priority
50
CVSS 3.0
5.9
EPSS
0.7%
probability of exploitation in 30 days · percentile 50
Auth required
No
Published
Jan 28, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-346
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go Cors.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gofiber/fiber/v2 ≥ 2.0.0 < 2.43.0 2.43.0 go get github.com/gofiber/fiber/v2@v2.43.0
Go github.com/rs/cors < 1.5.0 1.5.0 go get github.com/rs/cors@v1.5.0
Go github.com/rs/cors < 1.5.0 1.5.0 go get github.com/rs/cors@v1.5.0

Per OSV / GitHub Advisories (GHSA-927h-x4qj-r242, GO-2023-1792). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
go_cors_projectgo_cors≤ 1.3.0

Official sources

References

Links published by the sources. Open them with care.