Vulnerability

CVE-2021-23357

mediumCVSS 3.1 5.3Published 15 Mar 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

All versions of package github.com/tyktechnologies/tyk/gateway are vulnerable to Directory Traversal via the handleAddOrUpdateApi function. This function is able to delete arbitrary JSON files on the disk where Tyk is running via the management API. The APIID is provided by the user and this value is then used to create a file on disk. If there is a file found with the same name then it will be deleted and then re-created with the contents of the API creation request.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Tyk tyk

Weakness type

References

  • github.com /TykTechnologies/tyk/issues/3390
  • snyk.io /vuln/SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKGATEWAY-1078516

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning