Multipart memory disclosure in request
CVE-2017-16026 is an information disclosure vulnerability in the npm request HTTP client. When a multipart request contains a numeric body value, the number is interpreted as a buffer size, causing uninitialized memory of that size to be transmitted rather than the intended body data. The vulnerability affects request versions >=2.2.6 <2.47.0 and >2.51.0 <=2.67.0.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Unintended contents of the sending application's process memory can be disclosed to the recipient of an outgoing multipart HTTP request. Exposed memory may contain sensitive application data; the specific information disclosed depends on the memory contents at the time of allocation.
If you can’t patch tonight, do this now.
Until upgrading, prevent numeric values from being used as multipart request bodies. Validate multipart body types before invoking request, and prevent untrusted input from controlling numeric body values or allocation sizes.
Patch, then assume compromise.
Upgrade the request package to version 2.68.0 or later, including copies introduced through application dependencies.
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.