Bug 1567245 (CVE-2019-10196) - CVE-2019-10196 nodejs-http-proxy-agent: Denial of Service and data leak due to improper buffer sanitization
Summary: CVE-2019-10196 nodejs-http-proxy-agent: Denial of Service and data leak due t...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-10196
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1567246 1567247 1727825
Blocks: 1723909 1940790
TreeView+ depends on / blocked
 
Reported: 2018-04-13 16:05 UTC by Laura Pardo
Modified: 2021-10-21 20:00 UTC (History)
14 users (show)

Fixed In Version: nodejs-http-proxy-agent 2.1.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in http-proxy-agent, prior to version 2.1.0. It was discovered http-proxy-agent passes an auth option to the Buffer constructor without proper sanitization. This could result in a Denial of Service through the usage of all available CPU resources and data exposure through an uninitialized memory leak in setups where an attacker could submit typed input to the auth parameter.
Clone Of:
Environment:
Last Closed: 2021-10-21 20:00:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-04-13 16:05:23 UTC
A flaw was found in http-proxy-agent versions before 2.1.0. The http-proxy-agent 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).


References:
https://hackerone.com/reports/321631

Patch:
https://github.com/TooTallNate/node-http-proxy-agent/commit/b7b7cc793c3226aa83f820ce5c277e81862d32eb

Comment 1 Laura Pardo 2018-04-13 16:06:01 UTC
Created nodejs-http-proxy-agent tracking bugs for this issue:

Affects: fedora-all [bug 1567247]
Affects: epel-7 [bug 1567246]

Comment 2 Product Security DevOps Team 2019-06-10 10:19:57 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 6 Riccardo Schirone 2019-07-08 08:22:49 UTC
This flaw is similar to CVE-2018-3739.

Comment 7 Riccardo Schirone 2019-07-08 09:32:55 UTC
External References:

https://www.npmjs.com/advisories/607

Comment 11 Riccardo Schirone 2019-07-16 08:13:40 UTC
Statement:

This issue did not affect the versions of nodejs as shipped with Red Hat Enterprise Linux 8 as they already include the patched code.
This issue did not affect the versions of rh-nodejs10-nodejs as shipped with Red Hat Software Collections 3 as they already include the patched code.

Comment 12 Jason Shepherd 2019-08-08 05:47:26 UTC
This vulnerability is out of security support scope for the following product:

 * Red Hat Mobile Application Platform

 Please refer to https://access.redhat.com/support/policy/updates/rhmap for more details


Note You need to log in before you can comment on or make changes to this bug.