CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-21322
Fastify-http-proxy Project Fastify-http-proxy vulnerability

fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. By crafting a specific URL, it is possible to escape the prefix of the proxied backend service. If the base url of the proxied server is `/pub/`, a user expect that accessing `/priv` on the target service would not be possible. In affected versions, it is possible. This is fixed in version 4.3.1.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Fastify-http-proxy. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Fastify-http-proxy Project Fastify-http-proxy runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.