CVE-2021-23357

published 15 Mar 2021 · updated 17 Sep 2024

Directory Traversal

3.3LowCVSS 3.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in unspecified.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-23357 severity on Zeptric[![CVE-2021-23357](https://zeptric.io/badge/cve/CVE-2021-23357.svg)](https://zeptric.io/cve/CVE-2021-23357)