CVE-2023-22726
CVSS V2 None
CVSS V3 None
Description
act is a project which allows for local running of github actions. The artifact server that stores artifacts from Github Action runs does not sanitize path inputs. This allows an attacker to download and overwrite arbitrary files on the host from a Github Action. This issue may lead to privilege escalation. The /upload endpoint is vulnerable to path traversal as filepath is user controlled, and ultimately flows into os.Mkdir and os.Open. The /artifact endpoint is vulnerable to path traversal as the path is variable is user controlled, and the specified file is ultimately returned by the server. This has been addressed in version 0.2.40. Users are advised to upgrade. Users unable to upgrade may, during implementation of Open and OpenAtEnd for FS, ensure to use ValidPath() to check against path traversal or clean the user-provided paths manually.
Overview
- CVE ID
- CVE-2023-22726
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2023-01-20T22:15:10
- Last Modified Date
- 2023-02-03T15:56:57
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:act_project:act:*:*:*:*:*:go:*:* | 1 | OR | 0.2.40 |
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2023-22726 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22726 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-01-20 23:14:10 | Added to TrackCVE | |||
2023-01-20 23:14:10 | Weakness Enumeration | new | ||
2023-01-23 15:14:29 | 2023-01-23T15:08:08 | CVE Modified Date | updated | |
2023-01-23 15:14:29 | Received | Awaiting Analysis | Vulnerability Status | updated |
2023-01-31 17:14:26 | Awaiting Analysis | Undergoing Analysis | Vulnerability Status | updated |
2023-02-03 17:14:35 | 2023-02-03T15:56:57 | CVE Modified Date | updated | |
2023-02-03 17:14:35 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |
2023-02-03 17:14:35 | Weakness Enumeration | update | ||
2023-02-03 17:14:36 | CPE Information | updated |