Vulnerability · Published Mar 15, 2021 · Assigned by snyk

CVE-2021-23357Directory Traversal

Low 3.3

In plain English

A low-severity security flaw in github.com/TykTechnologies/tyk/gateway. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.5%top 55.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
n/a github.com/TykTechnologies/tyk/gateway 0 – before unspecified

References