CVE-2019-9901: Github.com/envoyproxy/envoy EnvoyProxy Envoy Missing HTTP URL Vulnerability
CRITICALCVE-2019-9901 is a CRITICAL (CVSS 10.0) envoyproxy envoy missing http url vulnerability (CWE-706: Use of Incorrectly-Resolved Name or Reference) affecting Github.com/envoyproxy/envoy libraries in the Go ecosystem. The issue involves envoyproxy envoy missing http url path normalization. Remediation is available by upgrading affected packages to version 1.9.1.
CVE-2019-9901 at a Glance
Security Impact
CVSS: 10.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2019-9901
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.9.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-2019-9901, 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.9.1), 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-706: Use of Incorrectly-Resolved Name or Reference, where the product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere. 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-2019-9901 Affected Github.com/envoyproxy/envoy Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/envoyproxy/envoy
|
Go |
< 1.9.1
|
1.9.1
|
References
Frequently Asked Questions
What is CVE-2019-9901?
Which Github.com/envoyproxy/envoy versions are affected?
What version fixes CVE-2019-9901?
Is github.com/envoyproxy/envoy affected?
What is the CVSS score of CVE-2019-9901?
What CWE is associated with CVE-2019-9901?
How can I check Go dependencies for CVE-2019-9901?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2wmf-p7f8-w42h",
"modified" : "2023-08-24T13:07:21Z",
"published" : "2022-05-24T16:44:38Z",
"aliases" : [ "CVE-2019-9901" ],
"summary" : "EnvoyProxy Envoy Missing HTTP URL path normalization",
"details" : "Envoy 1.9.0 and before does not normalize HTTP URL paths. A remote attacker may craft a relative path, e.g., `something/../admin`, to bypass access control, e.g., a block on `/admin`. A backend server could then interpret the non-normalized path and provide an attacker access beyond the scope provided for by the access control policy.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/envoyproxy/envoy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.9.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/envoyproxy/envoy/security/advisories/GHSA-xcx5-93pw-jw2w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-9901"
}, {
"type" : "WEB",
"url" : "https://github.com/envoyproxy/envoy/issues/6435"
}, {
"type" : "WEB",
"url" : "https://github.com/envoyproxy/envoy/commit/e668e669677e52a00d99652b5a260d1cedafdfa8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/envoyproxy/envoy"
}, {
"type" : "WEB",
"url" : "https://github.com/envoyproxy/envoy/blob/main/security/postmortems/cve-2019-9900.md"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/envoy-announce/VoHfnDqZiAM"
}, {
"type" : "WEB",
"url" : "https://www.envoyproxy.io/docs/envoy/v1.9.1/intro/version_history"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-706" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-14T20:27:42Z",
"nvd_published_at" : "2019-04-25T16:29:00Z"
}
}