<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 02 Oct 2026 19:12:44 +0000</lastBuildDate>
    <item>
      <title>GHSA-x4mj-7f9g-29h4 — Contour has Lua code injection via Cookie Path Rewrite Policy</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-x4mj-7f9g-29h4</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/projectcontour/contour&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;Contour&amp;#39;s [Cookie Rewriting](https://projectcontour.io/docs/1.33/config/cookie-rewriting/) feature is vulnerable to Lua code injection. An attacker with RBAC permissions to create or modify `HTTPProxy` resources can craft a malicious value in the following fields that results in arbitrary code execution in the Envoy proxy:&lt;/p&gt;
&lt;p&gt;- `spec.routes[].cookieRewritePolicies[].pathRewrite.value`
- `spec.routes[].services[].cookieRewritePolicies[].pathRewrite.value`&lt;/p&gt;
&lt;p&gt;The cookie rewriting feature is internally implemented using Envoy&amp;#39;s [HTTP Lua filter](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/lua_filter). User-controlled values are interpolated into Lua source code using Go `text/template` without sufficient sanitization.&lt;/p&gt;
&lt;p&gt;The injected code only executes when processing traffic on the attacker&amp;#39;s own route, which they already control. However, since Envoy runs as shared infrastructure, the injected code can also:&lt;/p&gt;
&lt;p&gt;- Read Envoy&amp;#39;s xDS client credentials from the filesystem, which could be used to read all Contour xDS configuration, including TLS certificates and private keys of other tenants.
- Cause denial of service for other tenants sharing the Envoy instance.&lt;/p&gt;
&lt;p&gt;Other use cases of Lua filter are not vulnerable.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The fix is available in Contour [v1.33.4](https://github.com/projectcontour/contour/releases/tag/v1.33.4), [v1.32.5](https://github.com/projectcontour/contour/releases/tag/v1.32.5), and [v1.31.6](https://github.com/project…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/projectcontour/contour&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;Contour&amp;#39;s [Cookie Rewriting](https://projectcontour.io/docs/1.33/config/cookie-rewriting/) feature is vulnerable to Lua code injection. An attacker with RBAC permissions to create or modify `HTTPProxy` resources can craft a malicious value in the following fields that results in arbitrary code execution in the Envoy proxy:&lt;/p&gt;
&lt;p&gt;- `spec.routes[].cookieRewritePolicies[].pathRewrite.value`
- `spec.routes[].services[].cookieRewritePolicies[].pathRewrite.value`&lt;/p&gt;
&lt;p&gt;The cookie rewriting feature is internally implemented using Envoy&amp;#39;s [HTTP Lua filter](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/lua_filter). User-controlled values are interpolated into Lua source code using Go `text/template` without sufficient sanitization.&lt;/p&gt;
&lt;p&gt;The injected code only executes when processing traffic on the attacker&amp;#39;s own route, which they already control. However, since Envoy runs as shared infrastructure, the injected code can also:&lt;/p&gt;
&lt;p&gt;- Read Envoy&amp;#39;s xDS client credentials from the filesystem, which could be used to read all Contour xDS configuration, including TLS certificates and private keys of other tenants.
- Cause denial of service for other tenants sharing the Envoy instance.&lt;/p&gt;
&lt;p&gt;Other use cases of Lua filter are not vulnerable.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The fix is available in Contour [v1.33.4](https://github.com/projectcontour/contour/releases/tag/v1.33.4), [v1.32.5](https://github.com/projectcontour/contour/releases/tag/v1.32.5), and [v1.31.6](https://github.com/project…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-x4mj-7f9g-29h4</guid>
    </item>
  </channel>
</rss>
