Skip to content

← Public intelligence

PyPI package

hyper-bump-it

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 3.3PyPIAmendedPublished

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in hyper-bump-it

    CVE-2023-41057 · GHSA-xc27-f9q3-4448

    Affected
    • PyPI hyper-bump-it < 0.5.1
    Fixed in
    0.5.1· Vendor fix available
    Issue
    hyper-bump-it reads a file glob pattern from the configuration file. That is combined with the project root directory to construct a full glob pattern that is used to find files that should be edited. These matched files should be contained within the project root directory, but that is not checked. This could result in changes being written to files outside of the project. The default behaviour of hyper-bump-it is to display the planned changes and prompt the user for confirmation before editing any files. However, the configuration file provides a field that can be used cause files to be edited without displaying the prompt. Details The vulnerability is present in https://github.com/plannigan/hyper-bump-it/blob/49c726201bbdc02c052302e03fd907d2170e1f47/hyperbumpit/hyperbumpit/files.py#L35 That code joins the project root directory with a string read from the configuration file without checking if the final path is located outside the project root directory. The following…

    Recommended action: Upgrade to 0.5.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →