Skip to content
Fencer Intel
medium 6.1

GHSA-pc5p-h8pf-mvwp json

Machine-In-The-Middle in https-proxy-agent

published 6y ago modified 3y ago

cvss
6.1
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

Versions of `https-proxy-agent` prior to 2.2.3 are vulnerable to Machine-In-The-Middle. The package fails to enforce TLS on the socket if the proxy server responds the to the request with a HTTP status different than 200. This allows an attacker with access to the proxy server to intercept unencrypted communications, which may include sensitive information such as credentials.

## Recommendation

Upgrade to version 3.0.0 or 2.2.3.

Patch / fix

  • npm https-proxy-agent 2.2.3

Is GHSA-pc5p-h8pf-mvwp in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
GitHub 3.1 6.1 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm https-proxy-agent
<2.2.3
2.2.3

Classification

Weakness
  • CWE-300 Channel Accessible by Non-Endpoint

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.