Advisory

GO-2023-1792

Also known as: CVE-2018-20744, GHSA-927h-x4qj-r242

Summary

Insecure wildcard CORS policy in github.com/rs/cors

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-06-08 18:30 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/rs/cors

Go · All systems

Affected

  • introduced 0, fixed 1.5.0 (semver)

Fixed versions

1.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences