CVE & CISA-KEV Catalog

CVE-2024-27302

CRITICAL
9.1
CVSS v3
NVD

Description

go-zero is a web and rpc framework. Go-zero allows user to specify a CORS Filter with a configurable allows param - which is an array of domains allowed in CORS policy. However, the `isOriginAllowed` uses `strings.HasSuffix` to check the origin, which leads to bypass via a malicious domain. This vulnerability is capable of breaking CORS policy and thus allowing any page to make requests and/or retrieve data on behalf of other users. Version 1.4.4 fixes this issue.

How to fix

Remediation Available
go-zeroNVD
Affected:< 1.4.4Fixed in:1.4.4CVE-2024-27302derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploit Intelligence

0.77%probability of exploitation in 30 days
51stpercentile

Moderate risk: more likely to be exploited than 51% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-639 (Authorization Bypass Through User-Controlled Key) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-6875Critical9.890%--
CVE-2024-46982High7.561%-Fix
CVE-2021-45428Critical9.857%--
CVE-2019-17382Critical9.154%-Fix
CVE-2019-13360Critical9.824%--
CVE-2023-48783Medium5.422%-Fix
Embed a live status badge for CVE-2024-27302
CVE-2024-27302 severity badge

Markdown

[![CVE-2024-27302](https://tridentstack.com/cve/badge/CVE-2024-27302.svg)](https://tridentstack.com/cve/CVE-2024-27302)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-27302"><img src="https://tridentstack.com/cve/badge/CVE-2024-27302.svg" alt="CVE-2024-27302"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-03.