CVE-2022-21221
CVSS V2 Medium 5
CVSS V3 High 7.5
Description
The package github.com/valyala/fasthttp before 1.34.0 are vulnerable to Directory Traversal via the ServeFile function, due to improper sanitization. It is possible to be exploited by using a backslash %5c character in the path. **Note:** This security issue impacts Windows users only.
Overview
- CVE ID
- CVE-2022-21221
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-03-17T12:15:08
- Last Modified Date
- 2022-03-24T02:27:51
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:fasthttp_project:fasthttp:*:*:*:*:*:*:*:* | 1 | OR | 1.34.0 | |
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | 0 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f3604d00e8 | Patch Third Party Advisory |
https://github.com/valyala/fasthttp/issues/1226 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1 | Patch Third Party Advisory |
https://github.com/valyala/fasthttp/releases/tag/v1.34.0 | Release Notes Third Party Advisory |
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866 | Exploit Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-21221 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21221 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-04 00:42:34 | Added to TrackCVE | |||
2022-12-06 12:41:07 | 2022-03-17T12:15Z | 2022-03-17T12:15:08 | CVE Published Date | updated |
2022-12-06 12:41:07 | 2022-03-24T02:27:51 | CVE Modified Date | updated | |
2022-12-06 12:41:07 | Analyzed | Vulnerability Status | updated |