CVE-2021-23357
Summary
| CVE | CVE-2021-23357 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-03-15 17:15:00 UTC |
| Updated | 2021-03-18 19:04:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Security: Path Traversal Bug - Able to delete/modify arbitrary JSON files via management API · Issue #3390 · TykTechnologies/tyk · GitHub | MISC | github.com | Exploit, Third Party Advisory |
| Directory Traversal in github.com/tyktechnologies/tyk/gateway | Snyk | MISC | snyk.io | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: calabdean
There are currently no legacy QID mappings associated with this CVE.