Read the docs
TI-2024-38572 Aliases GHSA-vhxv-fg4m-p2w8

Some CORS middleware allow untrusted origins

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact Some CORS middleware (more specifically those created by specifying two or more origin patterns whose hosts share a proper suffix) incorrectly allow some untrusted origins, thereby opening the door to cross-origin attacks from the untrusted origins in question. For example, specifying origin patterns `https://foo.com` and `https://bar.com` (in that order) would yield a middleware that would incorrectly allow untrusted origin `https://barfoo.com`. ### Patches Patched in v0.1.3. ### Workarounds None.

Why it matters now

Fix Fixed github.com/jub0bs/cors (Go): 0.1.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/jub0bs/cors (Go)before 0.1.30.1.3Patch availableGHSA-vhxv-fg4m-p2w8
  • github.com/jub0bs/cors (Go) Vendor— Affected before 0.1.3 Fixed in 0.1.3 Patch available GHSA-vhxv-fg4m-p2w8

Remediation

  • Fix · GHSA-vhxv-fg4m-p2w8 github.com/jub0bs/cors (Go) Fixed in 0.1.3 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-vhxv-fg4m-p2w8

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences