CVE-2018-3739
nodejs-https-proxy-agent: Unsanitized options passed to Buffer() allow for denial of service
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium).
Description
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 setups where an attacker could submit typed input to the 'auth' parameter (e.g. JSON).
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | https-proxy-agent | 2.2.0 |
| chainguard | jitsucom-jitsu | 0 |
| Red Hat | rh-nodejs8-nodejs, rh-nodejs8-nodejs-devel, rh-nodejs8-nodejs-docs and 1 more | no fix listed |
| wolfi | jitsucom-jitsu | 0 |
Show all 7 entries from 4 sources
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | https-proxy-agent | 2.2.0 |
| chainguard | jitsucom-jitsu | 0 |
| Red Hat | rh-nodejs8-nodejs | no fix listed |
| Red Hat | rh-nodejs8-nodejs-devel | no fix listed |
| Red Hat | rh-nodejs8-nodejs-docs | no fix listed |
| Red Hat | rh-nodejs8-npm | no fix listed |
| wolfi | jitsucom-jitsu | 0 |
References
- https://access.redhat.com/security/cve/CVE-2018-3739
- https://github.com/TooTallNate/node-https-proxy-agent
- https://github.com/TooTallNate/node-https-proxy-agent/commit/1c24219df87524e6ed973127e81f30801d658f07
- https://github.com/advisories/GHSA-8g7p-74h8-hg48
- https://hackerone.com/reports/319532
- https://nvd.nist.gov/vuln/detail/CVE-2018-3736
- https://nvd.nist.gov/vuln/detail/CVE-2018-3739
- https://www.cve.org/CVERecord?id=CVE-2018-3739