CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Fastify

CVE-2020-28482
Fastify-csrf vulnerability

This affects the package fastify-csrf before 3.0.0. 1. The generated cookie used insecure defaults, and did not have the httpOnly flag on: cookieOpts: { path: '/', sameSite: true } 2. The CSRF token was available in the GET query parameter

Affected products

Fastify-csrf. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Fastify-csrf 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

More vulnerabilities in Fastify products

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