CVE-2023-41057
"Hyper-Bump-It Configuration File Write Outside Project Root Directory Write Privilege Escalation"
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`.
INFO
Published Date :
Sept. 4, 2023, 6:15 p.m.
Last Modified :
Sept. 8, 2023, 5:22 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-41057
.
URL | Resource |
---|---|
https://github.com/plannigan/hyper-bump-it/pull/307 | Patch |
https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448 | Exploit Patch Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-41057
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-41057
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Sep. 08, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/plannigan/hyper-bump-it/pull/307 No Types Assigned https://github.com/plannigan/hyper-bump-it/pull/307 Patch Changed Reference Type https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448 No Types Assigned https://github.com/plannigan/hyper-bump-it/security/advisories/GHSA-xc27-f9q3-4448 Exploit, Patch, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:plannigan:hyper_bump_it:*:*:*:*:*:python:*:* versions up to (excluding) 0.5.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-41057
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-41057
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.01%
score
0.21166
percentile