CVE-2021-23357

Directory Traversal

State
Published
Severity
3.3 Low
Published
Mar 15, 2021
Updated
Sep 17, 2024
Reserved
Jan 8, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:Nsnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
github.com/TykTechnologies/tyk/gatewayn/a
  • before unspecifiedAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.