CVE-2023-41057

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`.
Configurations

Configuration 1 (hide)

cpe:2.3:a:plannigan:hyper_bump_it:*:*:*:*:*:python:*:*

History

21 Nov 2024, 08:20

Type Values Removed Values Added
References () https://github.com/plannigan/hyper-bump-it/pull/307 - Patch () https://github.com/plannigan/hyper-bump-it/pull/307 - Patch
References () https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448 - Exploit, Patch, Vendor Advisory () https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448 - Exploit, Patch, Vendor Advisory

08 Sep 2023, 17:22

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:a:plannigan:hyper_bump_it:*:*:*:*:*:python:*:*
First Time Plannigan
Plannigan hyper Bump It
References (MISC) https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448 - (MISC) https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448 - Exploit, Patch, Vendor Advisory
References (MISC) https://github.com/plannigan/hyper-bump-it/pull/307 - (MISC) https://github.com/plannigan/hyper-bump-it/pull/307 - Patch

04 Sep 2023, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-09-04 18:15

Updated : 2024-11-21 08:20


NVD link : CVE-2023-41057

Mitre link : CVE-2023-41057

CVE.ORG link : CVE-2023-41057


JSON object : View

Products Affected

plannigan

  • hyper_bump_it
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')