Skip to content

Security: anilozdev/sorug

Security

SECURITY.md

Security Policy

Supported Versions

Version Supported
0.6.x ✅
0.5.x ✅
< 0.5 ❌

Only the latest patch release of each supported minor version receives security updates.

Reporting a Vulnerability

Please do not report security vulnerabilities through public GitHub issues.

Instead, please report them via email to security@hocestnonsatis.dev (GPG key: A3C1 2F4E 5B8D 9F0A 7C6E 3D4B 8F1A 2C9E 5D7B 9F0A).

You should receive a response within 48 hours. If for some reason you do not, please follow up via email to ensure we received your original message.

Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:

  • Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
  • Full paths of source file(s) related to the manifestation of the issue
  • The location of the affected source code (tag/branch/commit or direct URL)
  • Any special configuration required to reproduce the issue
  • 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 the issue

This information will help us triage your report more quickly.

Preferred Languages

We prefer all communications to be in English.

Policy

  • We take all security vulnerabilities seriously.
  • We will acknowledge receipt of your vulnerability report within 48 hours.
  • We will provide a more detailed response within 5 business days indicating the next steps in handling your report.
  • We will keep you informed of the progress towards a fix and full announcement.
  • We will credit you in the security advisory (unless you prefer to remain anonymous).

Disclosure Timeline

  • Day 0: Vulnerability reported privately
  • Day 1-2: Acknowledgment and initial triage
  • Day 3-5: Detailed analysis and fix planning
  • Day 5-30: Fix development and testing
  • Day 30-45: Coordinated disclosure with advisory publication
  • Day 45+: Public disclosure and release of patched version

We aim to follow this timeline but may adjust based on the complexity of the vulnerability.

Scope

This security policy applies to the sorug crate and its public API. It does not cover:

  • Dependencies (report vulnerabilities in dependencies to their maintainers)
  • Example code or benchmarks not intended for production use
  • Issues requiring physical access or local privilege escalation beyond the crate's threat model

Threat Model

sorug is a URL parsing library designed for:

  • Parsing untrusted input from network sources
  • Handling malformed URLs without panicking or crashing
  • Preventing resource exhaustion (DoS via pathological inputs)
  • Maintaining memory safety (zero unsafe code in the library)

Out of scope: side-channel attacks, timing attacks on secret-dependent operations (URL parsing is typically not secret-dependent).

Safe Harbor

We support safe harbor for security researchers who:

  • Make a good faith effort to avoid privacy violations, destruction of data, and interruption or degradation of our services
  • Only interact with accounts you own or with explicit permission of the account holder
  • Provide us with a reasonable amount of time to resolve the issue before public disclosure
  • Do not exploit the vulnerability beyond what is necessary to demonstrate the issue

There aren't any published security advisories