p PatchFirst

CVE-2026-72816

CVE-2026-72816 · go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

go-chi/chi through 5.2.1 contains an IP spoofing vulnerability in the RealIP middleware (middleware/realip.go). The realIP() function reads client-controlled headers (True-Client-IP, X-Real-IP, and X-Forwarded-For) and overwrites r.RemoteAddr without verifying that the request originated from a trusted proxy. Attackers can supply arbitrary IP addresses in these headers to bypass IP-based access controls, evade rate limiting and geo-IP restrictions, and pollute audit logs. Fixed in 5.3.0.

CVSS 6.9 · Media · EPSS 0,3% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system

Productos y versiones afectados

  • chi

    Versiones
    • ≥ 0, < 5.3.0: Afectada (semver)
    • 5.3.0: No afectada (semver)

    Actualiza a 5.3.0

  • golang-github-go-chi-chi Debian:12

    Versiones
    • 5.0.7-1
    • 5.1.0-1
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-chi-chi Debian:13

    Versiones
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-chi-chi Debian:14

    Versiones
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 5.3.0-1

    Actualiza a 5.3.0-1

  • golang-github-go-chi-chi Ubuntu:22.04:LTS

    Versiones
    • 1.5.1-2
    • 5.0.7-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-chi-chi Ubuntu:24.04:LTS

    Versiones
    • 5.0.7-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-github-go-chi-chi Ubuntu:26.04:LTS

    Versiones
    • 5.2.0-1
    • 5.2.3-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →