CVE-2021-23357 LOW

CVE-2021-23357: Directory Traversal

Vendor N/A
Product github.com/TykTechnologies/tyk/gateway
Published March 15, 2021
Last update September 17, 2024

CVSS base score

3.3/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 15, 2021 CVE published
September 17, 2024 Record updated