Vulnerability Details : CVE-2021-43290
An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker who has compromised a GoCD agent can upload a malicious file into a directory of a GoCD server. They can control the filename but the directory is placed inside of a directory that they can't control.
Vulnerability category: Directory traversal
Products affected by CVE-2021-43290
- cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-43290
0.30%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 70 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-43290
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-43290
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-43290
-
https://github.com/gocd/gocd/commit/4c4bb4780eb0d3fc4cacfc4cfcc0b07e2eaf0595
#000 - Validate stage counter in GETs as well. · gocd/gocd@4c4bb47 · GitHubPatch;Third Party Advisory
-
https://blog.sonarsource.com/gocd-vulnerability-chain
Agent 008: Chaining Vulnerabilities to Compromise GoCDExploit;Patch;Third Party Advisory
-
https://www.gocd.org/releases/#21-3-0
Releases - Version notes | GoCDIssue Tracking;Release Notes;Vendor Advisory
-
https://github.com/gocd/gocd/commit/c22e0428164af25d3e91baabd3f538a41cadc82f
#000 - Validate stage counter during upload artifacts · gocd/gocd@c22e042 · GitHubPatch;Third Party Advisory
Jump to