Skip to content

Conversation

@lamntu
Copy link
Contributor

@lamntu lamntu commented Dec 11, 2025

This PR fixes a potential security vulnerability in getRequestContextPath and getApplicationContextPath.

Details:

The implementation may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.

Affected Function: getRequestContextPath and getApplicationContextPath
Fix of similar vulnerabilities: apache/shiro@b15ab92

What this PR does:

This PR applies the same security patch that was applied to the original repository to eliminate the potential vulnerability in getRequestContextPath and getApplicationContextPath.

References:

apache/shiro@b15ab92
https://nvd.nist.gov/vuln/detail/cve-2023-34478

Please review and merge this PR to ensure your repository is protected against this potential vulnerability.

@BalusC BalusC merged commit 5844527 into eclipse-ee4j:master Jan 4, 2026
1 check failed
@BalusC
Copy link
Contributor

BalusC commented Jan 4, 2026

Thank you!

BalusC pushed a commit that referenced this pull request Jan 4, 2026
BalusC added a commit that referenced this pull request Jan 4, 2026
@BalusC BalusC added this to the 4.0.14 milestone Jan 4, 2026
@lamntu
Copy link
Contributor Author

lamntu commented Jan 5, 2026

Hi @BalusC, thanks for merging our PR. We plan to request a CVE for this issue. Just wanna make sure if you are OK with us proceeding with the CVE submission. Thank you!

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