CVE Explore

Path Traversal in Tyk

CVE-2021-23357

CVSS v3
3.3 Low
Public exploits
None known
EPSS
0.005 · 45.4th percentile
Published
2021-03-15

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N.

Attack Vector
Local AV:L
Attack Complexity
High AC:H
Privileges Required
Low PR:L
User Interaction
Required UI:R
Scope
Unchanged S:U
Confidentiality
Low C:L
Integrity
Low I:L
Availability
None A:N

EPSS exploit prediction

EPSS 0.005, 45.4th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Tyk
  • Github.com/tyktechnologies/tyk/gateway — versions 0

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (captcha-n00b/CVEcrystalyer). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References