Skip to content

Conversation

@yannaingtun
Copy link

This PR tightens the Quartz job whitelist validation.

The previous implementation relied on prefix-based checks, which could be bypassed using crafted class or bean names. This change validates the resolved bean’s actual package name and explicitly blocks known disallowed prefixes.

There is no functional impact for valid jobs. The change only improves safety and reduces the risk of misuse.

Related CWE: CWE-284 (Improper Access Control)

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