Vulnerabilities in pkg:golang/knative.dev/eventing-gitlab

PACKAGE
Advisory Summary

GHSA-99jv-8292-2hpm is a LOW remote code execution vulnerability (General Security Weakness) affecting Knative.dev/eventing gitlab libraries in the Go ecosystem. The issue involves eventing-gitlab vulnerable to denial of service, caused by improper enforcement of the timeout on individual read operations. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/knative.dev/eventing-gitlab

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/knative.dev/eventing-gitlab. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-99jv-8292-2hpm - LOW eventing-gitlab vulnerable to denial of service, caused by improper enforcement of the timeout on individual read operations

GHSA-99jv-8292-2hpm at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-99jv-8292-2hpm
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Knative.dev/eventing gitlab
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-99jv-8292-2hpm

To remediate this vulnerability, upgrade all affected Knative.dev/eventing gitlab dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

knative.dev/eventing-gitlab fixed: Latest secure release
Upgrade knative.dev/eventing-gitlab to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for knative.dev/eventing-gitlab

How to Check if You Are Affected

To determine whether your application is affected by GHSA-99jv-8292-2hpm, inspect your project dependencies for Knative.dev/eventing gitlab:

inspect dependencies for knative.dev/eventing-gitlab

Analyze the terminal output to locate any version of Knative.dev/eventing gitlab in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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 General Security Weakness. In Knative.dev/eventing gitlab, 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

### Impact The eventing-gitlab 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. ### Patches Fix in `v1.12.1` and `v1.11.3`. ### Credits The vulnerability was reported by Ada Logics during an ongoing security audit of Knative involving Ada Logics, the Knative maintainers, OSTIF and CNCF.

GHSA-99jv-8292-2hpm Affected Knative.dev/eventing gitlab Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
knative.dev/eventing-gitlab
Go
≤ 0.39.0

References

Frequently Asked Questions

What is GHSA-99jv-8292-2hpm?
GHSA-99jv-8292-2hpm is a security vulnerability in Knative.dev/eventing gitlab involving eventing-gitlab vulnerable to denial of service, caused by improper enforcement of the timeout on individual read operations under General Security Weakness.
Which Knative.dev/eventing gitlab versions are affected?
Affected versions include releases prior to current release patches across affected packages: knative.dev/eventing-gitlab.
What version fixes GHSA-99jv-8292-2hpm?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is knative.dev/eventing-gitlab affected?
Yes, knative.dev/eventing-gitlab is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-99jv-8292-2hpm?
GHSA-99jv-8292-2hpm is classified under General Security Weakness.
How can I check Go dependencies for GHSA-99jv-8292-2hpm?
Run the dependency tree command: 'inspect dependencies for knative.dev/eventing-gitlab'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-99jv-8292-2hpm",
  "modified" : "2023-12-08T21:57:27Z",
  "published" : "2023-12-08T21:57:27Z",
  "aliases" : [ ],
  "summary" : "eventing-gitlab vulnerable to denial of service, caused by improper enforcement of the timeout on individual read operations",
  "details" : "### Impact\n\nThe eventing-gitlab 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\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-gitlab"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.39.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/knative-extensions/eventing-gitlab/security/advisories/GHSA-99jv-8292-2hpm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/knative-extensions/eventing-gitlab/commit/463fcb36ac31cdac34eda0e900b64039d6d30b36"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/knative-extensions/eventing-gitlab/commit/db76c668aa47890e7fe73c9df3135da292cfd9ec"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/knative-extensions/eventing-gitlab"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-08T21:57:27Z",
    "nvd_published_at" : null
  }
}