CVE-2021-23357Tyk
Medium 5.3
Follow: this CVE · Tyk · Tyk We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.3
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 46
- Auth required
- Yes
- Published
- Mar 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Tyk.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tyk | tyk | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- snyk.io Third Party Advisory