CVE-2018-3739CWE-400

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…

published June 7, 2018

CVSS
—
EPSS
2%
Percentile
80.3
In the wild
Unconfirmed
What it is

⚠️ A tiny oversight packs a punch! The https-proxy-agent before version 2.1.1 can lead to a Denial of Service and even an uninitialized memory leak just from passing unsanitized input! 🔥 Think of it like a restaurant serving fish without checking for allergens — a small oversight that could leave customers in a world of hurt. Similarly, this flaw allows attackers to submit problematic input, potentially crashing the service and leaking sensitive information. If exploited, an attacker could cause a Denial of Service, essentially turning your server into a very expensive paperweight. Even worse, it may expose uninitialized memory, revealing sensitive data to prying eyes. Both outcomes can severely disrupt service availability and compromise data integrity!

Put simply

Think of it like a restaurant serving fish without checking for allergens — a small oversight that could leave customers in a world of hurt. Similarly, this flaw allows attackers to submit problematic input, potentially crashing the service and leaking sensitive information. The vulnerability arises because the 'auth' parameter input is passed directly to the Buffer constructor without proper sanitization, making it susceptible to crafted inputs that can lead to memory leaks or DoS conditions.

What to do

If exploited, an attacker could cause a Denial of Service, essentially turning your server into a very expensive paperweight. Even worse, it may expose uninitialized memory, revealing sensitive data to prying eyes. Both outcomes can severely disrupt service availability and compromise data integrity! Upgrade to https-proxy-agent version 2.1.1 or higher immediately to eliminate this vulnerability. Additionally, review your input sanitization practices to ensure no other parameters are at risk. Regularly audit your dependencies to keep your system secure! You've got this! Apply the fix and your service will be back on track in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01981 · 80.3th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2018-06-07T02:00Z
EPSS history
Timeline
  • 07 JUN 02:00Z
    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…
    cvelistv5