
Cloud Vulnerability DB
A community-led vulnerabilities database
A critical security vulnerability (GHSA-vhxv-fg4m-p2w8) was discovered in the jub0bs/cors Go package affecting versions prior to 0.1.3. The vulnerability was published on May 2, 2024, and received a CVSS score of 9.3 (Critical). The issue affects CORS middleware configurations where two or more origin patterns with hosts sharing a proper suffix are specified (GitHub Advisory).
The vulnerability stems from a bug in the construction of radix trees within the CORS middleware. When configured with multiple origin patterns that share a proper suffix, the middleware incorrectly allows some untrusted origins. For example, if the middleware is configured with origin patterns 'https://foo.com' and 'https://bar.com', it would incorrectly allow requests from untrusted origins like 'https://barfoo.com'. The vulnerability has been assigned CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N, indicating network attack vector, low complexity, no privileges required, and high impact on confidentiality and integrity (GitHub Advisory).
The vulnerability enables potential cross-origin attacks from untrusted origins. When exploited, it allows unauthorized origins to bypass CORS restrictions, potentially leading to unauthorized access to sensitive data and functionality. The high CVSS score of 9.3 reflects the significant impact on both confidentiality and integrity of the affected systems (GitHub Advisory).
The vulnerability requires network access and user interaction but no special privileges for exploitation. The attack complexity is rated as low, making it relatively straightforward to exploit in environments where the conditions are met (GitHub Advisory).
The vulnerability has been patched in version 0.1.3 of the jub0bs/cors package. No workarounds are available, making it critical for affected users to upgrade to the patched version (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."