Improper Input Validation Affecting github.com/phires/go-guerrilla package, versions <1.6.7


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (30th 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-GITHUBCOMPHIRESGOGUERRILLA-9689889
  • published13 Apr 2025
  • disclosed1 Apr 2025
  • creditPaul B

Introduced: 1 Apr 2025

CVE-2025-31135  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/phires/go-guerrilla to version 1.6.7 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation due to the handling of the PROXY command. An attacker can spoof their IP address by sending multiple PROXY commands, with later ones overriding earlier ones.

Note:

This is only exploitable if ProxyOn is enabled.

References

CVSS Base Scores

version 4.0
version 3.1