CVE-2021-23357
published low CVSS 3.1 · 3.3Directory Traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | github.com/TykTechnologies/tyk/gateway0 to < unspecified | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | github.com/TykTechnologies/tyk/gateway | 0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Directory Traversal
References
2Provider assertions
2snyk · cna
Directory Traversal
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b5f6fcca72ec1c7c6100d09246c67ba1aa6b3e59962b04d9bc94a4a1f17855d3
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record