English | 简体中文
We release patches for security vulnerabilities for the following versions:
| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
If you discover a security vulnerability within this project, please send an email to the maintainer. All security vulnerabilities will be promptly addressed.
Please do not report security vulnerabilities through public GitHub issues.
When reporting a vulnerability, please include:
- A description of the vulnerability
- Steps to reproduce the issue
- Potential impact of the vulnerability
- Any suggested fixes (if available)
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Fix Timeline: Depends on severity
- Critical: Within 7 days
- High: Within 14 days
- Medium: Within 30 days
- Low: Next regular release
When using this library:
- Always use the latest stable version
- Keep your dependencies up to date
- Follow the principle of least privilege for database access
- Validate and sanitize all user inputs before using them in spatial queries
- Use parameterized queries to prevent SQL injection
- Review the OWASP Top 10 regularly
This library uses MyBatis Plus TypeHandlers which properly handle parameter binding. However:
- Always use parameterized queries
- Never concatenate user input directly into SQL strings
- Be cautious with dynamic SQL generation
- Validate coordinate ranges before creating geometry objects
- Check for NaN and infinite values in coordinates
- Validate SRID values match your database configuration
When a security vulnerability is reported and confirmed:
- We will work on a fix privately
- We will prepare a security advisory
- We will release a patched version
- We will publish the security advisory with credit to the reporter (if desired)
Thank you for helping keep this project secure!