Vulnerabilities in pkg:golang/knative.dev/eventing-github
PACKAGEGHSA-v7hc-87jc-qrrr is a LOW remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Knative.dev/eventing github libraries in the Go ecosystem. The issue involves eventing-github vulnerable to denial of service caused by improper enforcement of the timeout on individual read operations. Remediation is available by upgrading affected packages to version 0.39.1.
pkg:golang/knative.dev/eventing-github
Vulnerability advisories affecting package pkg:golang/knative.dev/eventing-github. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-v7hc-87jc-qrrr | - | LOW | eventing-github vulnerable to denial of service caused by improper enforcement of the timeout on individual read operations |
GHSA-v7hc-87jc-qrrr at a Glance
How to Fix GHSA-v7hc-87jc-qrrr
To remediate this vulnerability, upgrade all affected Knative.dev/eventing github dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade knative.dev/eventing-github to 0.39.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for knative.dev/eventing-github
How to Check if You Are Affected
To determine whether your application is affected by GHSA-v7hc-87jc-qrrr, inspect your project dependencies for Knative.dev/eventing github:
inspect dependencies for knative.dev/eventing-github
Analyze the terminal output to locate any version of Knative.dev/eventing github in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.39.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Knative.dev/eventing github, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-v7hc-87jc-qrrr Affected Knative.dev/eventing github Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
knative.dev/eventing-github
|
Go |
< 0.39.1
|
0.39.1
|
References
Frequently Asked Questions
What is GHSA-v7hc-87jc-qrrr?
Which Knative.dev/eventing github versions are affected?
What version fixes GHSA-v7hc-87jc-qrrr?
Is knative.dev/eventing-github affected?
What CWE is associated with GHSA-v7hc-87jc-qrrr?
How can I check Go dependencies for GHSA-v7hc-87jc-qrrr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v7hc-87jc-qrrr",
"modified" : "2023-12-06T19:19:35Z",
"published" : "2023-12-06T19:19:35Z",
"aliases" : [ ],
"summary" : "eventing-github vulnerable to denial of service caused by improper enforcement of the timeout on individual read operations",
"details" : "### Impact\n\nThe eventing-github cluster-local server doesn't set `ReadHeaderTimeout` which could lead do a DDoS attack, where a large group of users send requests to the server causing the server to hang for long enough to deny it from being available to other users, also know as a Slowloris attack.\n\n### Patches\n\nFix in `v1.12.1` and `v1.11.3`\n\n### Credits\n\nThe vulnerability was reported by Ada Logics during an ongoing security audit of Knative involving Ada Logics, the Knative maintainers, OSTIF and CNCF.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "knative.dev/eventing-github"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.39.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/knative-extensions/eventing-github/security/advisories/GHSA-v7hc-87jc-qrrr"
}, {
"type" : "WEB",
"url" : "https://github.com/knative-extensions/eventing-github/pull/442"
}, {
"type" : "WEB",
"url" : "https://github.com/knative-extensions/eventing-github/pull/446"
}, {
"type" : "WEB",
"url" : "https://github.com/knative-extensions/eventing-github/pull/447"
}, {
"type" : "WEB",
"url" : "https://github.com/knative-extensions/eventing-github/commit/ea5cb8b25fc3410dde45ce2eb95454e4cfe77c40"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/knative-extensions/eventing-github"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-06T19:19:35Z",
"nvd_published_at" : null
}
}