proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| proxy-addr | proxy-addr | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Proxy-addr | Proxy-addr |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jqcg-44mw-7w3h | proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.260% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Proxy-addr
Proxy-addr proxy-addr |
|
| Vendors & Products |
Proxy-addr
Proxy-addr proxy-addr |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | proxy-addr is a Node.js module that determines a request's client address behind trusted reverse proxies, and it backs Express req.ip and req.ips. In versions 1.1.0 through 2.0.7, a trust subnet written in IPv4-mapped IPv6 notation with an IPv4-sized prefix, such as ::ffff:10.0.0.0/8 instead of the correct ::ffff:10.0.0.0/104, is accepted without error but trusts every IPv4 address on the internet rather than the block it names. Because the socket peer then becomes trusted at hop 0, any unauthenticated client can supply an arbitrary X-Forwarded-For header and control the address the application reads, which defeats IP-based access control, rate limiting, geolocation, and audit logging. This is a fail-open regression introduced in version 1.1.0. The issue is fixed in proxy-addr 2.0.8, and users should upgrade to 2.0.8 or later. As a workaround, ensure any IPv4-mapped IPv6 trust subnet uses a prefix length of at least 97, or express the range in plain IPv4 notation. | |
| Title | proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet | |
| Weaknesses | CWE-290 CWE-348 CWE-697 |
|
| References |
| |
| Metrics |
cvssV3_1
|