Out-of-root file modification via unchecked glob path
Published Sep 4, 2023 · Updated Sep 27, 2024
Path traversal in Plannigan Hyper Bump It before 0.5.1 allows local users to modify files outside the project root via a crafted config. The file matcher in hyper_bump_it/_hyper_bump_it/files.py passes the configured file_glob directly to project_root.glob without verifying that each resolved match remains under the project root. Exploitation requires a user to run the tool on attacker-controlled project configuration; disabling the confirmation prompt permits edits without preapproval.
Summary
What happened
Path traversal in Plannigan Hyper Bump It before 0.5.1 allows local users to modify files outside the project root via a crafted config. The file matcher in hyper_bump_it/_hyper_bump_it/files.py passes the configured file_glob directly to project_root.glob without verifying that each resolved match remains under the project root. Exploitation requires a user to run the tool on attacker-controlled project configuration; disabling the confirmation prompt permits edits without preapproval.
The record
- CVE
- CVE-2023-41057
- Published
- Sep 4, 2023
- Updated
- Sep 27, 2024
- Vendor
- Plannigan
- Product
- Hyper Bump It
- Classifications
- CWE-22, T1565.001, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 4, 2023CVE publishedPublication date reported by the CVE source.
- Sep 27, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.5.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Vendor proof-of-concept traversal configurationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo