Currently supported versions of jcommons:
| Version | Supported |
|---|---|
| 1.x | ✅ |
| < 1.0 | ❌ |
Please do not report security vulnerabilities through public GitHub issues.
Instead, please report them via one of the following methods:
- Go to https://github.com/FlossWare/jcommons/security/advisories
- Click "New draft security advisory"
- Fill in the details
Send an email to: sfloess@gmail.com
Please include:
- Type of vulnerability
- Full paths of source file(s) related to the vulnerability
- Location of the affected source code (tag/branch/commit)
- Step-by-step instructions to reproduce the issue
- Proof-of-concept or exploit code (if possible)
- Impact of the issue, including how an attacker might exploit it
- Acknowledgment: Within 48 hours
- Initial assessment: Within 1 week
- Fix timeline: Depends on severity (critical: days, high: weeks, medium/low: next release)
- Disclosure: We follow coordinated disclosure - public disclosure after fix is available
-
Java Serialization (
StringUtil.fromString,StringUtil.fromCompressedString)- Deprecated since v1.22, planned for removal in v2.0
- Never use with untrusted data
- Only for internal, trusted sources
- Consider using JSON libraries instead
- ObjectInputFilter protection has been added as of v1.30 to restrict deserialization to trusted packages
-
File Operations (
FileUtil)- Validate file paths to prevent directory traversal
- Be cautious with user-supplied file paths
- Always use the latest version of jcommons
- Review CHANGELOG.md for security-related updates
- Enable OWASP dependency checking in your builds
- Subscribe to GitHub security advisories for this repository
- Security patch is developed and tested
- CVE is requested (if applicable)
- Version is released with security notes in CHANGELOG.md
- GitHub Security Advisory is published
- Users are notified via release notes
We appreciate the security research community and will credit researchers (with permission) in:
- CHANGELOG.md
- GitHub Security Advisory
- Release notes
Thank you for helping keep jcommons and its users safe!