Security is a core goal of Korr: programs are run by a memory-safe interpreter
written in safe Rust, and the standard library is designed so that the easy way is
the safe way (escaped HTML templates, parameterised SQL, no shell in os.exec,
linear-time regular expressions, verified HTTPS, request size limits). See the
Security model for details.
Korr is young; security fixes are made for the latest release only.
| Version | Supported |
|---|---|
| latest release | Yes |
| older releases | No, please upgrade |
Please do not report security problems in public issues, pull requests or discussions.
Report them privately through GitHub: Report a vulnerability (the Security tab, then Report a vulnerability).
Please include:
- the Korr version (
korr version) and your operating system - a description of the problem and its impact
- the smallest program or steps that reproduce it
- a suggested fix, if you have one
- An acknowledgement within 3 days.
- An assessment and a planned fix date within 10 days.
- Updates as the fix progresses. Once a fixed release is published, the advisory is made public and you are credited (unless you prefer to stay anonymous).
Please give us a reasonable time to release a fix before disclosing the problem publicly.
In scope: the korr binary (the interpreter, the virtual machine, the standard
library with its HTTP server and client, database drivers, crypto, file and process
APIs, korr build bundles, korr setup and the package manager), plus the
install scripts and the editor extensions in this repository.
Out of scope:
- Packages installed with
korr add. A package runs with the same permissions as your program, like npm, Composer or pip packages; report problems in a package to its author. - Problems that need an attacker who can already run arbitrary Korr code or edit your files.
- Denial of service caused by the documented single-threaded HTTP server design; run Korr behind a reverse proxy in production (see the comparison guide).