Authentication Bypass by Spoofing Affecting github.com/shift72/caddy-geo-ip package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMSHIFT72CADDYGEOIP-6117627
  • published12 Dec 2023
  • disclosed11 Dec 2023
  • creditadryd325

Introduced: 11 Dec 2023

CVE-2023-50463  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

There is no fixed version for github.com/shift72/caddy-geo-ip.

Overview

Affected versions of this package are vulnerable to Authentication Bypass by Spoofing via the trust_header X-Forwarded-For configuration. An attacker can spoof their source IP address by sending a crafted X-Forwarded-For header, which may allow them to bypass security mechanisms such as the trusted_proxy directive in reverse_proxy or IP address range restrictions.

References

CVSS Base Scores

version 3.1