Improper Output Neutralization for Logs Affecting github.com/envoyproxy/gateway/internal/xds/translator package, versions <1.2.7>=1.3.0-rc.1 <1.3.1


Severity

Recommended
0.0
medium
0
10

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

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 Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMENVOYPROXYGATEWAYINTERNALXDSTRANSLATOR-9299820
  • published7 Mar 2025
  • disclosed6 Mar 2025
  • creditDennis Kniep

Introduced: 6 Mar 2025

NewCVE-2025-25294  (opens in a new tab)
CWE-117  (opens in a new tab)

How to fix?

Upgrade github.com/envoyproxy/gateway/internal/xds/translator to version 1.2.7, 1.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Output Neutralization for Logs due to an improper default Envoy Proxy access log configuration. An attacker can manipulate log entries and potentially obscure malicious activity by injecting specially crafted user-agent strings that modify or add JSON fields in the logs.

CVSS Base Scores

version 4.0
version 3.1