Skip to content
OpenAdvisories
Low · 3.3 CVE-2021-23357 EUVD-2021-10427GHSA-3qx7-r2pf-8cwr

Directory Traversal

Published Mar 15, 2021 · Updated Sep 17, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— github.com/TykTechnologies/tyk/gateway < unspecified unspecified

References