Live threats

All CVEs / Https-proxy-agent Project

CVE-2018-3739Https-proxy-agent Project Https-proxy-agent

Critical 9.1 No auth needed

Priority
70
CVSS 3.0
9.1
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Jun 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-125
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

https-proxy-agent before 2.1.1 passes auth option to the Buffer constructor without proper sanitization, resulting in DoS and uninitialized memory leak in setups where an attacker could submit typed input to the 'auth' parameter (e.g. JSON).

Original NVD text.

What to do

  1. Apply the vendor's security update for Https-proxy-agent.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm https-proxy-agent < 2.2.0 2.2.0 npm install https-proxy-agent@2.2.0

Per OSV / GitHub Advisories (GHSA-8g7p-74h8-hg48). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
https-proxy-agent_projecthttps-proxy-agent< 2.2.0

Official sources

References

Links published by the sources. Open them with care.