npm package

request 2.42.0 vulnerabilities, and what to upgrade to

request 2.42.0 has 2 known vulnerabilities; 2.68.0 fixes 1 of them, and 1 has no fixed version yet. 2.68.0 is a deprecated release. The maintainers have deprecated request.

npm (opens in a new tab) describes it as “Simplified HTTP request client.”

Known vulnerabilities
2
None rated high or critical
Released
Sep 4, 2014
Latest is 2.88.2
Downloads last week
35.6K
Under 1% of request downloads
Licence
Apache-2.0
Pulls in
33 packages
Resolved by deps.dev
Status
Package deprecated

What to upgrade to

Every newer release we checked still has known vulnerabilities. The fewer, the better.

  • 2.68.0

    Fixes 1 of the 2 known vulnerabilities. Released Jan 27, 2016.

    1 known vulnerability, worst rated warningDeprecated
  • 2.88.2

    Newest 2.x release and the latest release. Released Feb 11, 2020.

    1 known vulnerability, worst rated warningDeprecated

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for request 2.42.0

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. WarningCVE-2017-16026 on OSV.dev (opens in a new tab)GHSA-7xfp-9c55-5vqjEPSS: top 16%

    Remote Memory Exposure in request

    Fixed in 2.68.0. Published Nov 9, 2018.

  2. WarningCVE-2023-28155 on OSV.dev (opens in a new tab)GHSA-p8p7-x288-28g6EPSS: top 48%

    Server-Side Request Forgery in Request

    No fixed version listed yet. Published Mar 16, 2023.

Who is still on a vulnerable request

100% of last week’s 12.5M request downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is request the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly request 2.42.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.