CVE-2023-40034 json
Repositoty takeover in woodpecker-ci
published 2023-08-16 3 y ago modified 2026-09-10 1 mo ago also GHSA-4gcf-5m39-98mc , GO-2023-2014 , EUVD-2023-2207
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
Woodpecker is a community fork of the Drone CI system. In affected versions an attacker can post malformed webhook data witch lead to an update of the repository data that can e.g. allow the takeover of an repo. This is only critical if the CI is configured for public usage and connected to a forge witch is also in public usage. This issue has been addressed in version 1.0.2. Users are advised to upgrade. Users unable to upgrade should secure the CI system by making it inaccessible to untrusted entities, for example, by placing it behind a firewall.
Patch / fix
- go github.com/woodpecker-ci/woodpecker 1.0.2
- woodpecker-ci woodpecker 1.0.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.88% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/woodpecker-ci/woodpecker | >=1.0.0, <1.0.2 |
1.0.2 |
Affected products
- woodpecker-ci woodpecker
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/woodpecker-ci/woodpecker/pull/2221
web, issue-tracking, patch
-
github.com
/woodpecker-ci/woodpecker/pull/2222
web, issue-tracking, patch
-
github.com
/woodpecker-ci/woodpecker/commit/6e4c2f84cc84661d58cf1c0e5c421a46070bb105
web, patch
-
github.com
/woodpecker-ci/woodpecker/security/advisories/GHSA-4gcf-5m39-98mc
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-40034
advisory
-
github.com
/woodpecker-ci/woodpecker
package
-
github.com
/woodpecker-ci/woodpecker/releases/tag/v1.0.2
web
Sources
- CVE List CVE-2023-40034
- GitHub Advisory GHSA-4gcf-5m39-98mc
- NVD CVE-2023-40034
- OSV GO-2023-2014
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.