CVE-2022-36088
What it is
GoCD is a continuous delivery server. Windows installations via either the server or agent installers for GoCD prior to 22.2.0 do not adequately restrict permissions when installing outside of the default location. This could allow a malicious user with local access to the server GoCD Server or Agent are installed on to modify executables or components of the installation. This does not affect zip file-based installs, installations to other platforms, or installations inside `Program Files` or `Program Files (x86)`. This issue is fixed in GoCD 22.2.0 installers. As a workaround, if the server or agent is installed outside of `Program Files (x86)`, verify the the permission of the Server or Agent installation directory to ensure the `Everyone` user group does not have `Full Control`, `Modify` or `Write` permissions.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account, but needs a user to act. High risk of data tampering.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-269 · Improper privilege management
- Record status
- Modified
Affected
- Thoughtworks Gocd < 22.2.0
Attack profile CVSS 3.1 · 5.0
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-36088.md and follow it. Check whether this project is affected by CVE-2022-36088. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/gocd/gocd/commit/96add9605096ab50c5cd4c229be1d503aff506a6
- https://github.com/gocd/gocd/releases/tag/22.2.0
- https://github.com/gocd/gocd/security/advisories/GHSA-gpv4-xqhc-5vcj
- https://github.com/gocd/gocd/commit/96add9605096ab50c5cd4c229be1d503aff506a6
- https://github.com/gocd/gocd/releases/tag/22.2.0
- https://github.com/gocd/gocd/security/advisories/GHSA-gpv4-xqhc-5vcj
References
- https://github.com/gocd/gocd/commit/96add9605096ab50c5cd4c229be1d503aff506a6
- https://github.com/gocd/gocd/releases/tag/22.2.0
- https://github.com/gocd/gocd/security/advisories/GHSA-gpv4-xqhc-5vcj
- https://www.gocd.org/releases/#22-2-0
- https://github.com/gocd/gocd/commit/96add9605096ab50c5cd4c229be1d503aff506a6
- https://github.com/gocd/gocd/releases/tag/22.2.0
- https://github.com/gocd/gocd/security/advisories/GHSA-gpv4-xqhc-5vcj
- https://www.gocd.org/releases/#22-2-0