VULNERABILITY INTELLIGENCE
CVE-2021-23357
CVSS score3.3 LOW
EPSS probability0.53%
CISA KEVNot currently listed
Published2021-03-15
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
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.
Weakness classification
- nvd@nist.gov: CWE-22
Primary references
- report@snyk.io — Exploit, Third Party Advisory
- report@snyk.io — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory