Skip to content

Fix ClassLoader Security Vulnerability #55

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

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

Conversation

simei2k
Copy link

@simei2k simei2k commented May 18, 2025

Description

This PR addresses a security vulnerability in the getClassLoader() method where accessing the thread's context class loader could fail under a SecurityManager with restricted thread permissions.

Security Issues Fixed

  1. Missing Security Checks: Added proper privilege management when accessing the thread's context class loader.

This vulnerability was also found in smallrye/smallrye-config@fb0def6 and fixed.

References:

  1. smallrye/smallrye-config@fb0def6
  2. https://nvd.nist.gov/vuln/detail/cve-2020-1729

This PR addresses a security vulnerability in the getClassLoader() method where accessing the thread's context class loader could fail under a SecurityManager with restricted thread permissions.

Security Issues Fixed
Missing Security Checks: Added proper privilege management when accessing the thread's context class loader.

This vulnerability was also found in smallrye/smallrye-config@fb0def6 and fixed.

References:
1. smallrye/smallrye-config@fb0def6
2. https://nvd.nist.gov/vuln/detail/cve-2020-1729
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