CVE-2025-30157: Github.com/envoyproxy/envoy Envoy Crashes When HTTP Ext_proc Vulnerability
MODERATECVE-2025-30157 is a MODERATE (CVSS 6.5) envoy crashes when http ext_proc vulnerability (CWE-460: Improper Cleanup on Thrown Exception) affecting Github.com/envoyproxy/envoy libraries in the Go ecosystem. The issue involves envoy crashes when http ext_proc processes local replies. Remediation is available by upgrading affected packages to version 1.30.10, 1.31.6, 1.32.4, 1.33.1.
CVE-2025-30157 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-30157
To remediate this vulnerability, upgrade all affected Github.com/envoyproxy/envoy dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/envoyproxy/envoy to 1.30.10
Upgrade github.com/envoyproxy/envoy to 1.31.6
Upgrade github.com/envoyproxy/envoy to 1.32.4
Upgrade github.com/envoyproxy/envoy to 1.33.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/envoyproxy/envoy
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-30157, inspect your project dependencies for Github.com/envoyproxy/envoy:
inspect dependencies for github.com/envoyproxy/envoy
Analyze the terminal output to locate any version of Github.com/envoyproxy/envoy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.30.10), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-460: Improper Cleanup on Thrown Exception, where the product does not clean up its state or incorrectly cleans up its state when an exception is thrown, leading to unexpected state or control flow. In Github.com/envoyproxy/envoy, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-30157 Affected Github.com/envoyproxy/envoy Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/envoyproxy/envoy
|
Go |
< 1.30.10
|
1.30.10
|
|
github.com/envoyproxy/envoy
|
Go |
≥ 1.31.0
< 1.31.6
|
1.31.6
|
|
github.com/envoyproxy/envoy
|
Go |
≥ 1.32.0
< 1.32.4
|
1.32.4
|
|
github.com/envoyproxy/envoy
|
Go |
≥ 1.33.0
< 1.33.1
|
1.33.1
|
References
Frequently Asked Questions
What is CVE-2025-30157?
Which Github.com/envoyproxy/envoy versions are affected?
What version fixes CVE-2025-30157?
Is github.com/envoyproxy/envoy affected?
What is the CVSS score of CVE-2025-30157?
What CWE is associated with CVE-2025-30157?
How can I check Go dependencies for CVE-2025-30157?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cf3q-gqg7-3fm9",
"modified" : "2025-03-21T15:43:00Z",
"published" : "2025-03-21T15:23:50Z",
"aliases" : [ "CVE-2025-30157" ],
"summary" : "Envoy crashes when HTTP ext_proc processes local replies",
"details" : "### Summary\nEnvoy's ext_proc HTTP filter is at risk of crashing if a local reply is sent to the external server due to the filter's life time issue. A known situation is the fail of a websocket handshake will trigger a local reply leading to the crash of Envoy.\n\n### PoC\nIf both websocket and ext_proc are enabled, a failed handshake will trigger a local reply, thus ext_proc will crash.\n\n### Mitigation\n1. Disable websocket traffic\n2. Change the websocket response from backend to always return `101 Switch protocol` based on RFC.\n3. Apply the patch and the ext_proc filter will not send the local reply that is generated by Envoy to the ext_proc server for processing.\n4. Apply the patch that the router will cancel the upstream requests when sending a local reply.\n\n### Impact\nDenial of service\n\n### Reporter\nVasilios Syrakis\nFernando Cainelli",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.30.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.31.0"
}, {
"fixed" : "1.31.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.32.0"
}, {
"fixed" : "1.32.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.33.0"
}, {
"fixed" : "1.33.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/envoyproxy/envoy/security/advisories/GHSA-cf3q-gqg7-3fm9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30157"
}, {
"type" : "WEB",
"url" : "https://github.com/envoyproxy/envoy/commit/8eda1b8ef5ba8663d16a737ab99458c039a9b53c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/envoyproxy/envoy"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-460" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-21T15:23:50Z",
"nvd_published_at" : "2025-03-21T15:15:43Z"
}
}