Repository navigation
v1.5.1 - Security and Bug Fixes
What's New in v1.5.1
This is a security and bug fix release that hardens the plugin against potential vulnerabilities and fixes several resource management issues.
Security Improvements
- Added HTTP response size limit (1MB) to prevent memory exhaustion from malicious GitHub API responses
- Implemented runtime validation during response reading with abort on oversized responses
- Fixed log injection vulnerability by removing user-controlled data from log output in version parsing
- Added input validation helper
validateDatabaseOperation(UUID)to prevent null pointer exceptions
Bug Fixes
- Fixed resource leak in
UpdateChecker.fetchLatestVersion()by using try-with-resources for BufferedReader (#10) - Fixed inverted assertions in concurrent access tests (#10)
- Added explicit unknown subcommand handling with user feedback (#10)
Technical Changes
- Database now uses
FILE_LOCK=SOCKETto prevent data corruption from concurrent access - Improved error logging consistency for null UUIDs and uninitialized database connections
- Refactored DatabaseManager to eliminate duplicated null checks
- Added security-focused test cases for null input handling, large input handling, and malicious content parsing
- Added test for parseVersionPart overflow handling
Breaking Changes
- None in this release
Installation
Download StormtrooperX-1.5.1.jar and place it in your server's plugins folder.
First Time Installation
- Download the JAR file
- Place it in your server's
pluginsfolder - Restart your server
- Configure in
plugins/StormtrooperX/config.yml
Upgrading from Previous Version
- Stop your server
- Replace the old JAR with the new one
- Start your server
- No configuration changes required
Compatibility
- Minecraft: 1.13 - 1.21.x
- Server Software: Spigot, Paper, Purpur, or any Spigot-based server
- Java Version: 11+ (tested on Java 11, 17, and 21)
Known Issues
- None at this time
Full Changelog
Full Changelog: v1.5.0...v1.5.1
Support
If you encounter any issues:
- Open an issue: https://github.com/GooberCraft/StormtrooperX/issues
- Check existing issues first
- Provide server version, plugin version, and error logs
Links
- Documentation: https://github.com/GooberCraft/StormtrooperX
- Source Code: https://github.com/GooberCraft/StormtrooperX
- bStats: https://bstats.org/plugin/bukkit/StormtrooperX/27782
Thanks for using StormtrooperX!