Skip to content

Conversation

@simei2k
Copy link

@simei2k simei2k commented May 10, 2025

This PR addresses a potential path traversal vulnerability in the recursive delete functionality by improving how file paths are validated before deletion.

The original implementation had a potential path traversal vulnerability due to using string-based path comparison. The fix implements a more robust path validation approach using Java's Path API.

This vulnerability was also identified in AdoptOpenJDK/IcedTea-Web@b09c6a4, corresponding to CVE-2022-24816 and fixed.

References:

  1. AdoptOpenJDK/IcedTea-Web@b09c6a4
  2. https://nvd.nist.gov/vuln/detail/cve-2022-24816

This PR addresses a potential path traversal vulnerability in the recursive delete functionality by improving how file paths are validated before deletion.

The original implementation had a potential path traversal vulnerability due to using string-based path comparison. The fix implements a more robust path validation approach using Java's Path API.

This vulnerability was also identified in AdoptOpenJDK/IcedTea-Web@b09c6a4, corresponding to CVE-2022-24816 and fixed.

References:
1. AdoptOpenJDK/IcedTea-Web@b09c6a4
2. https://nvd.nist.gov/vuln/detail/cve-2022-24816
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.

1 participant