CVE-2023-41057

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

Description

hyper-bump-it is a command line tool for updating the version in project files.`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. This issue has been fixed in release version 0.5.1. Users are advised to upgrade. Users that are unable to update from vulnerable versions, executing `hyper-bump-it` with the `--interactive` command line argument will ensure that all planned changes are displayed and prompt the user for confirmation before editing any files, even if the configuration file contains `show_confirm_prompt=true`.

Category

5.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.08%
Vendor Advisory github.com
Affected: plannigan hyper-bump-it
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-41057?
CVE-2023-41057 has been scored as a medium severity vulnerability.
How to fix CVE-2023-41057?
To fix CVE-2023-41057, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-41057 being actively exploited in the wild?
It is possible that CVE-2023-41057 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-41057?
CVE-2023-41057 affects plannigan hyper-bump-it.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.