GitHub Advisoryadvisory · Go

GHSA-jcr6-mmjj-pchw gorilla/handlers may allow requester to bypass expected behavior of the Same Origin Policy

CRITICAL Published 2022-12-28 Modified 2023-01-10 Official page ↗
Aliases
CVE-2017-20146
Ecosystem
Go
Packages
github.com/gorilla/handlers
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-346
Reviewed
2022-12-30

Affected packages

• Go github.com/gorilla/handlers: < 1.3.0 → fixed in 1.3.0

Description

Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the Access-Control-Allow-Origin header, which bypasses the expected behavior of the Same Origin Policy.

Related

Alias · CVE (1)

  • CVE-2017-20146 Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the… vulnerability

Weakness · CWE (1)

  • CWE-346 Origin Validation Error weakness

References