Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix file manipulation vulnerability #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yummikko
Copy link

@Yummikko Yummikko commented Feb 24, 2025

PR Description

This PR improves the security of the DeleteStoredData function by properly sanitizing file path before deletion. It addresses a file manipulation vulnerability (CWE-73) flagged by security scans, preventing potential path traversal attacks.

CWE Description

File Manipulation vulnerability occurs when an application allows user input to control or influence paths or file names that are used in file system operations. This could allow an attacker to access or modify system files or other files that are critical to the application. For example, an application may give an attacker the ability to overwrite a specified file or run with a configuration controlled by the attacker

References

IEAM-1538

IEAM-1538

Signed-off-by: Aleksandra Chyła <[email protected]>
@Yummikko Yummikko force-pushed the fix_1538_file_manipulation_vulnerability branch from eb72923 to 6f6ae0a Compare February 24, 2025 08:10
@Yummikko Yummikko marked this pull request as draft February 24, 2025 08:11
@Yummikko Yummikko marked this pull request as ready for review February 24, 2025 08:12
@Yummikko Yummikko closed this Feb 24, 2025
@Yummikko Yummikko reopened this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants