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 CWE-22 Path/Directory Traversal issues #65

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

kzosi
Copy link

@kzosi kzosi commented Feb 10, 2025

Description

CWE-22 (Path/Directory Traversal) is a type of vulnerability that occurs when an application allows users to manipulate file paths in a way that can access files or directories that are outside of the intended directory. This can lead to security issues such as unauthorized access to sensitive files, data leakage, or even arbitrary code execution in some cases.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Ran Mend SAST

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have tagged the reviewers in a comment below incase my pull request is ready for a review
  • I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@kzosi kzosi self-assigned this Feb 10, 2025
@kzosi kzosi requested a review from naphelps February 10, 2025 09:22
@kzosi kzosi marked this pull request as draft February 10, 2025 10:48
@kzosi kzosi marked this pull request as ready for review February 10, 2025 10:51
@naphelps
Copy link
Member

@kzosi have you tested these changes? Build a test container and run through the AIO FDO demo if not.

@kzosi kzosi marked this pull request as draft February 27, 2025 09:08
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.

2 participants