github-webhook-server@2.0.15 vulnerabilities

A webhook server to manage Github repositories and pull requests.

  • latest version

    4.0.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    15 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the github-webhook-server package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Missing Authorization

    github-webhook-server is an A webhook server to manage Github repositories and pull requests.

    Affected versions of this package are vulnerable to Missing Authorization via unsafe loading of OWNERS files from pull-request–controlled repository checkouts. The OwnersFileHandler.get_all_repository_approvers_and_reviewers()z method, together with _get_file_content_from_local(), reads OWNERS files directly from clone_repo_dir` without isolating the PR head from the protected base branch. As a result, approver and reviewer lists can be sourced from attacker-modified OWNERS files in the pull request, allowing unauthorized users to influence or bypass required review and approval policies.

    How to fix Missing Authorization?

    Upgrade github-webhook-server to version 4.0.0 or higher.

    [,4.0.0)