gitsafehub
github.com/gofiber/cors ↗

gofiber/cors

scanned 2026-08-08 · git d43e33c
2 of 6 checks flagged a security issue
🔴 Needs attention
Only 5 of 6 checks finished — treat this as provisional. Re-check ↻

Informational scan, not a security audit. How this is computed.

Leaked secretsVulnerable dependencies60Known OSS vulnerabilities141Risky code patternsMalicious dependenciesProject health

Security checks

Leaked secrets — Gitleaks none found ✓

API keys, passwords or tokens committed into the repo.

Nothing found by this check. ✓

via Gitleaks v8.21.2 · MIT

Vulnerable dependencies — Trivy 60 found · 2 serious

Packages you depend on that have known security holes (CVEs).

  • Serious CVE-2024-38513 Session Middleware Token Injection Vulnerability
    go.mod
    A package you depend on has a known security hole (CVE-2024-38513). Fix: Update that package to its patched version.
  • Serious CVE-2025-66565 Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values
    go.mod
    A package you depend on has a known security hole (CVE-2025-66565). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-53624 GoFiber never set HSTS header in helmet middleware due to incorrect protocol check
    go.mod
    A package you depend on has a known security hole (CVE-2026-53624). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-37298 gorilla/schema: Potential memory exhaustion attack due to sparse slice deserialization
    go.mod
    A package you depend on has a known security hole (CVE-2024-37298). Fix: Update that package to its patched version.
  • Worth fixing CVE-2022-21221 Path traversal in github.com/valyala/fasthttp
    go.mod
    A package you depend on has a known security hole (CVE-2022-21221). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-29652 golang: crypto/ssh: crafted authentication request can lead to nil pointer dereference
    go.mod
    A package you depend on has a known security hole (CVE-2020-29652). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-7919 golang: Integer overflow on 32bit architectures via crafted certificate allows for denial of service
    go.mod
    A package you depend on has a known security hole (CVE-2020-7919). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-9283 golang.org/x/crypto: Processing of crafted ssh-ed25519 public keys allows for panic
    go.mod
    A package you depend on has a known security hole (CVE-2020-9283). Fix: Update that package to its patched version.
  • Worth fixing CVE-2021-43565 golang.org/x/crypto: empty plaintext packet causes panic
    go.mod
    A package you depend on has a known security hole (CVE-2021-43565). Fix: Update that package to its patched version.
  • Worth fixing CVE-2022-27191 golang: crash in a golang.org/x/crypto/ssh server
    go.mod
    A package you depend on has a known security hole (CVE-2022-27191). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-45337 golang.org/x/crypto/ssh: Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto
    go.mod
    A package you depend on has a known security hole (CVE-2024-45337). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-22869 golang.org/x/crypto/ssh: Denial of Service in the Key Exchange of golang.org/x/crypto/ssh
    go.mod
    A package you depend on has a known security hole (CVE-2025-22869). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-47913 golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: SSH client panic due to unexpected SSH_AGENT_SUCCESS
    go.mod
    A package you depend on has a known security hole (CVE-2025-47913). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39828 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Unauthorized command execution via discarded SSH permissions
    go.mod
    A package you depend on has a known security hole (CVE-2026-39828). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39829 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via crafted public key with excessive parameters
    go.mod
    A package you depend on has a known security hole (CVE-2026-39829). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39830 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via resource leak from unsolicited SSH responses
    go.mod
    A package you depend on has a known security hole (CVE-2026-39830). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39831 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Security key bypass due to missing user presence check
    go.mod
    A package you depend on has a known security hole (CVE-2026-39831). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39832 golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: Security bypass due to improper handling of key restrictions
    go.mod
    A package you depend on has a known security hole (CVE-2026-39832). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39835 golang.org/x/crypto/ssh: golang: golang.org/x/crypto/ssh: Denial of Service via crafted SSH certificate
    go.mod
    A package you depend on has a known security hole (CVE-2026-39835). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-42508 golang.org/x/crypto/ssh/knownhosts: golang: golang.org/x/crypto/ssh/knownhosts: Revocation bypass via unchecked SignatureKey
    go.mod
    A package you depend on has a known security hole (CVE-2026-42508). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-46595 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Authorization bypass due to skipped source-address validation
    go.mod
    A package you depend on has a known security hole (CVE-2026-46595). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-46597 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via crafted AES-GCM packet decoder inputs
    go.mod
    A package you depend on has a known security hole (CVE-2026-46597). Fix: Update that package to its patched version.
  • Worth fixing CVE-2019-11840 golang.org/x/crypto: Keystream loop in amd64 assembly when overflowing 32-bit counter
    go.mod
    A package you depend on has a known security hole (CVE-2019-11840). Fix: Update that package to its patched version.
  • Worth fixing CVE-2019-11841 A message-forgery issue was discovered in crypto/openpgp/clearsign/cle ...
    go.mod
    A package you depend on has a known security hole (CVE-2019-11841). Fix: Update that package to its patched version.
  • Worth fixing CVE-2023-48795 ssh: Prefix truncation attack on Binary Packet Protocol (BPP)
    go.mod
    A package you depend on has a known security hole (CVE-2023-48795). Fix: Update that package to its patched version.
… 35 more not shown

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner 141 found · 2 serious

Your dependencies cross-checked against the OSV vulnerability database.

  • Serious GO-2024-2959 Session Middleware Token Injection Vulnerability in github.com/gofiber/fiber
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2024-38513). Fix: Update that package to its patched version.
  • Serious GO-2025-4208 Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values in github.com/gofiber/utils
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.sum
    A package you depend on has a known security hole (CVE-2025-66565). Fix: Update that package to its patched version.
  • Worth fixing GHSA-3q5p-3558-364f Fiber unauthorized access vulnerability in `ctx.IsFromLocal()`
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2023-41338). Fix: Update that package to its patched version.
  • Worth fixing GHSA-gv83-gqw6-9j2c GoFiber never set HSTS header in helmet middleware due to incorrect protocol check
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2026-53624). Fix: Update that package to its patched version.
  • Worth fixing GO-2024-2958 Potential memory exhaustion attack due to sparse slice deserialization in github.com/gorilla/schema
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.sum
    A package you depend on has a known security hole (CVE-2024-37298). Fix: Update that package to its patched version.
  • Worth fixing GO-2022-0355 Path traversal in github.com/valyala/fasthttp
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.sum
    A package you depend on has a known security hole (CVE-2022-21221). Fix: Update that package to its patched version.
  • Worth fixing GO-2022-0493 Incorrect privilege reporting in syscall and golang.org/x/sys/unix
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.sum
    A package you depend on has a known security hole (CVE-2022-29526). Fix: Update that package to its patched version.
  • FYI GO-2025-3706 Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2025-48075). Fix: Update that package to its patched version.
  • FYI GO-2026-4471 Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID() on crypto/rand failure in github.com/gofiber/fiber
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2025-66630). Fix: Update that package to its patched version.
  • FYI GO-2021-0142 Unbounded read from invalid inputs in encoding/binary
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2020-16845). Fix: Update that package to its patched version.
  • FYI GO-2021-0223 Certificate verification error on Windows in crypto/x509
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2020-14039). Fix: Update that package to its patched version.
  • FYI GO-2021-0224 Data race and crash in net/http
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2020-15586). Fix: Update that package to its patched version.
  • FYI GO-2021-0226 Cross-site scripting in net/http/cgi and net/http/fcgi
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2020-24553). Fix: Update that package to its patched version.
  • FYI GO-2021-0234 Infinite loop when decoding inputs in encoding/xml
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-27918). Fix: Update that package to its patched version.
  • FYI GO-2021-0235 Incorrect operations on the P-224 curve in crypto/elliptic
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-3114). Fix: Update that package to its patched version.
  • FYI GO-2021-0239 Improper sanitization when resolving values from DNS in net
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-33195). Fix: Update that package to its patched version.
  • FYI GO-2021-0240 Panic when reading certain archives in archive/zip
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-33196). Fix: Update that package to its patched version.
  • FYI GO-2021-0241 Attacker can drop certain headers in net/http/httputil
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-33197). Fix: Update that package to its patched version.
  • FYI GO-2021-0242 Panic on inputs with large exponents in math/big
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-33198). Fix: Update that package to its patched version.
  • FYI GO-2021-0243 Panic on certain certificates in crypto/tls
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-34558). Fix: Update that package to its patched version.
  • FYI GO-2021-0245 Panic in ReverseProxy in net/http/httputil
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-36221). Fix: Update that package to its patched version.
  • FYI GO-2021-0263 Panic on invalid symbol tables in debug/macho
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-41771). Fix: Update that package to its patched version.
  • FYI GO-2021-0264 Panic when opening certain archives in archive/zip
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2021-41772). Fix: Update that package to its patched version.
  • FYI GO-2021-0317 Uncontrolled memory consumption in math/big
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2022-23772). Fix: Update that package to its patched version.
  • FYI GO-2021-0319 Incorrect computation for some invalid field elements in crypto/elliptic
    /workdirs/scan-758a4689-6564-4c14-80d4-581581a8bc16/go.mod
    A package you depend on has a known security hole (CVE-2022-23806). Fix: Update that package to its patched version.
… 116 more not shown

via OSV-Scanner v1.9.2 · Apache-2.0

Risky code patterns — Semgrep none found ✓

Code that can be exploited: injection, hardcoded credentials and similar.

Nothing found by this check. ✓

via Semgrep v1.147.0 · LGPL-2.1

Malicious dependencies — Guarddog none found ✓

Packages that look intentionally malicious: typosquats, sneaky install scripts.

Nothing found by this check. ✓

via Guarddog v2.10.0 · Apache-2.0

Project health

A signal about how the project is maintained — not a vulnerability in your code. It doesn’t affect the verdict above.

Project health — OpenSSF Scorecard didn’t run

Maintenance & supply-chain hygiene. A signal about the project, not a vulnerability in your code.

This check didn’t finish — that’s not the same as “clean.” Try Check again above.

via OpenSSF Scorecard · Apache-2.0

About these results. Six open-source checks ran in parallel; every finding is tagged with the tool that produced it. The verdict follows a published rule. False positives and false negatives are normal — a clean scan does not mean the code is secure, and a red verdict does not mean the project is compromised.