Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
proxy-addr proxy-addr 1.1.0 – < 2.0.8 2.0.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-proxy-addr 2.0.8+~cs2.3.7-1 —
Debian 13 node-proxy-addr No fix yet —
Debian 12 node-proxy-addr No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-proxy-addr No fix yet —
Ubuntu 26.04 LTS node-proxy-addr No fix yet —
Ubuntu 24.04 LTS node-proxy-addr No fix yet —
Ubuntu 22.04 LTS node-proxy-addr No fix yet —
Ubuntu 20.04 LTS node-proxy-addr No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-proxy-addr No fix yet —
Ubuntu 16.04 LTS node-proxy-addr No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-tensorboard No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jupyter-base-notebook 7.6.3-r2 —
Wolfi rolling kubeflow-centraldashboard 2.0.0-r6 —
Wolfi rolling kubeflow-pipelines-frontend 2.17.2-r8 —
Wolfi rolling langfuse-3-worker 3.225.11-r6 —
Wolfi rolling sqlpad 7.5.7-r47 —
Wolfi rolling thingsboard-tb-web-ui +1 4.3.1.5-r5 —
Wolfi rolling tileserver-gl 5.6.0-r18 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm proxy-addr >= 1.1.0, < 2.0.8 2.0.8 GHSA-jqcg-44mw-7w3h

Advisories 1

References