Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS05MjdoLXg0cWotcjI0Ms4AAUL4
github.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.
Permalink: https://github.com/advisories/GHSA-927h-x4qj-r242JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05MjdoLXg0cWotcjI0Ms4AAUL4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 6 months ago
CVSS Score: 5.9
CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Identifiers: GHSA-927h-x4qj-r242, CVE-2018-20744
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-20744
- https://github.com/rs/cors/issues/55
- https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf
- https://github.com/gofiber/fiber/issues/2338
- https://github.com/gofiber/fiber/pull/2339
- https://web.archive.org/web/20200227091122/http://www.securityfocus.com/bid/106834
- https://github.com/rs/cors/pull/57
- https://github.com/advisories/GHSA-927h-x4qj-r242
Blast Radius: 26.1
Affected Packages
go:github.com/rs/cors
Dependent packages: 11,242Dependent repositories: 27,043
Downloads:
Affected Version Ranges: < 1.5.0
Fixed in: 1.5.0
All affected versions: 1.3.0, 1.4.0
All unaffected versions: 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.9.0, 1.10.0, 1.10.1, 1.11.0, 1.11.1
go:github.com/gofiber/fiber/v2
Dependent packages: 5,791Dependent repositories: 5,223
Downloads:
Affected Version Ranges: >= 2.0.0, < 2.43.0
Fixed in: 2.43.0
All affected versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.4.0, 2.4.1, 2.5.0, 2.6.0, 2.7.0, 2.7.1, 2.8.0, 2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 2.15.0, 2.16.0, 2.17.0, 2.18.0, 2.19.0, 2.20.0, 2.20.1, 2.20.2, 2.21.0, 2.22.0, 2.23.0, 2.24.0, 2.25.0, 2.26.0, 2.27.0, 2.28.0, 2.29.0, 2.30.0, 2.31.0, 2.32.0, 2.33.0, 2.34.0, 2.34.1, 2.35.0, 2.36.0, 2.37.0, 2.37.1, 2.38.0, 2.38.1, 2.39.0, 2.40.0, 2.40.1, 2.41.0, 2.42.0
All unaffected versions: 2.43.0, 2.44.0, 2.45.0, 2.46.0, 2.47.0, 2.48.0, 2.49.0, 2.49.1, 2.49.2, 2.50.0, 2.51.0, 2.52.0, 2.52.1, 2.52.2, 2.52.3, 2.52.4, 2.52.5