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

[risk] Path traversal in ShenyuPluginPathBuilder #5603

Open
BrdgYin opened this issue Aug 1, 2024 · 1 comment
Open

[risk] Path traversal in ShenyuPluginPathBuilder #5603

BrdgYin opened this issue Aug 1, 2024 · 1 comment
Labels
type: question Further information is requested

Comments

@BrdgYin
Copy link

BrdgYin commented Aug 1, 2024

Question

/**
 * Gets plugin file.
 *
 * @param path the path
 * @return the plugin jar file.
 */
public static File getPluginFile(final String path) {
    String pluginPath = getPluginPath(path);
    return new File(pluginPath);
}
@BrdgYin BrdgYin added the type: question Further information is requested label Aug 1, 2024
@BrdgYin BrdgYin changed the title [Question] Path traversal in ShenyuPluginPathBuilder [risk] Path traversal in ShenyuPluginPathBuilder Aug 1, 2024
@yu199195
Copy link
Member

yu199195 commented Aug 7, 2024

can you fix it? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants