GHSA-4GCF-5M39-98MC
Vulnerability from github – Published: 2023-08-16 21:02 – Updated: 2023-08-18 14:25
VLAI
Summary
Woodpecker does not validate webhook before changing any data
Details
Impact
An attacker can post malformed webhook data which leads to an update of the repository data that can e.g. allow the takeover of a repository. This is only critical if the CI is configured for public usage and connected to a forge witch is also in public usage.
Patches
Please use either next or the latest v1.0 e.g. v1.0.2
Workarounds
Secure the CI system by making it inaccessible to untrusted entities, for example, by placing it behind a firewall.
References
Fix: https://github.com/woodpecker-ci/woodpecker/pull/2221 Backport: https://github.com/woodpecker-ci/woodpecker/pull/2222
Severity
8.1 (High)
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/woodpecker-ci/woodpecker"
},
"ranges": [
{
"events": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.0.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-40034"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2023-08-16T21:02:29Z",
"nvd_published_at": "2023-08-16T21:15:10Z",
"severity": "HIGH"
},
"details": "### Impact\nAn attacker can post malformed webhook data which leads to an update of the repository data that can e.g. allow the takeover of a repository.\nThis is only critical if the CI is configured for public usage and connected to a forge witch is also in public usage.\n\n### Patches\nPlease use either next or the latest v1.0 e.g. v1.0.2\n\n### Workarounds\nSecure the CI system by making it inaccessible to untrusted entities, for example, by placing it behind a firewall.\n\n### References\nFix: https://github.com/woodpecker-ci/woodpecker/pull/2221\nBackport: https://github.com/woodpecker-ci/woodpecker/pull/2222",
"id": "GHSA-4gcf-5m39-98mc",
"modified": "2023-08-18T14:25:07Z",
"published": "2023-08-16T21:02:29Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/woodpecker-ci/woodpecker/security/advisories/GHSA-4gcf-5m39-98mc"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40034"
},
{
"type": "WEB",
"url": "https://github.com/woodpecker-ci/woodpecker/pull/2221"
},
{
"type": "WEB",
"url": "https://github.com/woodpecker-ci/woodpecker/pull/2222"
},
{
"type": "WEB",
"url": "https://github.com/woodpecker-ci/woodpecker/commit/6e4c2f84cc84661d58cf1c0e5c421a46070bb105"
},
{
"type": "PACKAGE",
"url": "https://github.com/woodpecker-ci/woodpecker"
},
{
"type": "WEB",
"url": "https://github.com/woodpecker-ci/woodpecker/releases/tag/v1.0.2"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Woodpecker does not validate webhook before changing any data"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…