Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.62 KB

SECURITY.md

File metadata and controls

24 lines (16 loc) · 1.62 KB

Security

Reporting a vulnerability

Report vulnerabilities privately through GitHub's private vulnerability reporting for this repository: github.com/Astn/JSON-RPC.NET/security/advisories/new. Do not open a public issue for a vulnerability.

Reports are read and handled by the maintainer as time allows. There is no guaranteed response time and no bug bounty. A fix, when one is needed, ships as a new version of the affected package with the advisory published alongside it.

Supported versions

Version Supported
2.x yes, on the tested targets (net8.0 and net10.0; the netstandard assets are untested)
1.x no: no further 1.x releases are planned

What the library does and does not do

The security reference lists what the library does by default (exception redaction, nesting limit, document and batch limits in the core, request-size limit on the Kestrel host) and what it leaves to the host.

Authentication, connection identity, TLS, rate limiting, request logging and deadlines belong to the host. HTTP hosts use ASP.NET Core middleware and endpoint metadata (RequireAuthorization, UseRateLimiter, the request-timeouts middleware); raw connections bypass that pipeline, so listen on loopback or a Unix socket, authenticate in front of them and use listener limits. Methods enforce authorisation that depends on parameter values. Core limits constrain admitted documents and batches, while transports bound bytes during receipt. Authentication and credential handling remain application responsibilities.