CVE-2019-10196
nodejs-http-proxy-agent: Denial of Service and data leak due to improper buffer sanitization
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium), Red Hat (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | http-proxy-agent | 2.1.0 |
| Red Hat | rh-nodejs8-npm | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2019-10196
- https://bugzilla.redhat.com/show_bug.cgi?id=1567245
- https://github.com/TooTallNate/node-http-proxy-agent/commit/b7b7cc793c3226aa83f820ce5c277e81862d32eb
- https://nvd.nist.gov/vuln/detail/CVE-2019-10196
- https://www.cve.org/CVERecord?id=CVE-2019-10196
- https://www.npmjs.com/advisories/607