CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-21321
Fastify-reply-from Project Fastify-reply-from vulnerability

fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. In fastify-reply-from before version 4.0.2, 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.0.2.

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

Affected products

Fastify-reply-from. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Fastify-reply-from Project Fastify-reply-from 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.