CVE-2021-23357
Last modified
CVE-2021-23357 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tyk | Tyk | All versions |
References
- https://github.com/TykTechnologies/tyk/issues/3390Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKGATEWAY-1078516Third Party Advisory
- https://github.com/TykTechnologies/tyk/issues/3390Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKGATEWAY-1078516Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23357?
How severe is CVE-2021-23357?
How do I fix CVE-2021-23357?
Are you affected by CVE-2021-23357?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
