Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tyk | Tyk | All versions |
Related Weaknesses (CWE)
References
- https://github.com/TykTechnologies/tyk/issues/3390ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKGATEWAY-1078516Third Party Advisory
- https://github.com/TykTechnologies/tyk/issues/3390ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKGATEWAY-1078516Third Party Advisory
FAQ
What is CVE-2021-23357?
CVE-2021-23357 is a vulnerability with a CVSS score of 3.3 (LOW). 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 ...
How severe is CVE-2021-23357?
CVE-2021-23357 has been rated LOW with a CVSS base score of 3.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23357?
Check the references section above for vendor advisories and patch information. Affected products include: Tyk Tyk.