Kyron Security Plan#
Kyron Security Plan
|
status: valid
security: YES
safety: QM
|
||||
Security Management Context#
This security plan adds the work products of the Kyron module, needed for ISO SAE 21434 conformity, to the process security management guidance.
Kyron is security relevant: it provides TCP and UDP networking and iceoryx2-based inter-process communication. Its functional safety classification (QM in the current release) does not relax any security work product.
Security Management Scope#
This security plan covers the Kyron module, Kyron Module (mod__kyron), with its components
Kyron Runtime (comp__kyron_runtime) (src/kyron, src/kyron-macros) and
Kyron Foundation (comp__kyron_foundation) (src/kyron-foundation). The module is developed and
qualified as a Component Out-of-Context (OoC).
Security Management Roles#
Role |
Assignee |
|---|---|
Security Manager |
rl__security_manager of the S-CORE project (no module-specific assignment yet) |
Project Manager |
Philipp Meyer |
Tailoring#
No additional tailoring at module level. Every security work product in the process security management guidance is planned for Kyron. The formal security reviews (wp__fdr_reports_security) follow the process-level status of wf__p_formal_security_rv.
Component Out-of-Context Assumptions#
Kyron is developed and qualified as a Component Out-of-Context. The following assumptions on its intended use, context and external interfaces are the basis for its cybersecurity requirements. They are validated when Kyron is integrated into an item or a higher-level component:
Kyron is a library linked into an application process. It runs with the privileges of that process and provides no isolation between tasks of the same process.
The operating system (Linux, QNX 8) is trusted and provides process memory protection.
Kyron opens network sockets only on request of the application. Kyron provides no authentication or encryption. Exposure to untrusted networks, authentication and encryption are the responsibility of the integrator.
iceoryx2 IPC uses shared memory between processes on the same host. Every process with access to an iceoryx2 service is trusted. The integrator restricts that access with operating system permissions.
Off-the-Shelf / OSS Component Qualification#
Kyron integrates the following OSS components. Their cybersecurity-relevant documentation is gathered and analysed to determine whether the allocated cybersecurity requirements can be fulfilled:
iceoryx2 (Eclipse iceoryx; used through the revision pinned by
score_crates) - actively maintained Eclipse project, used for IPC and as base library ofkyron-foundation- qualification not started.libc (rust-lang) - actively maintained, bindings to the operating system C library - qualification not started.
proc-macro2, quote and syn - build-time only, used by
kyron-macros- qualification not started.
Gaps in the existing documentation and the activities to close them are identified as part of wp__sw_component_security_analysis.
Cybersecurity Assessment Decision#
Decision: YES
Rationale: Kyron exposes TCP/UDP networking and iceoryx2 IPC to its integrators, so it is part of the attack surface of every item that uses these interfaces.
Responsible assessor, independent from the development team: not assigned yet. Tracked in eclipse-score/score#2445.
Vulnerability Monitoring and Management#
For this module, the following is defined for the continual cybersecurity activities after release:
Sources monitored for new cybersecurity information: the RustSec advisory database for the Rust dependencies, and the security advisories of eclipse-iceoryx/iceoryx2.
SBOM generation: wp__sw_module_sbom is generated by
//:sbom_product(score_sbom) in SPDX 2.3 and CycloneDX 1.6. Every release attaches it.Vulnerability scan cadence: on dependency changes, on
main, weekly and on every release (vulnerability_scan.yml): cargo-audit onCargo.lockand osv-scanner on the product SBOM. Ignored advisories need a justification (.cargo/audit.toml,osv-scanner.toml).Triage and remediation responsible: the Kyron committers.
Escalation to the cybersecurity incident response process: the Eclipse Foundation vulnerability reporting process (https://www.eclipse.org/security/).
Security Module Work Products#
One set of work products for the module and one set for each component of the module.
Work Product Id |
Link to process |
Process status |
Link to issue |
Link to WP |
WP status |
|---|---|---|---|---|---|
valid |
none yet |
this document |
valid |
||
valid |
none yet |
not created yet |
n/a |
||
wp__fdr_reports_security (module security plan) |
valid |
none yet |
not created yet |
n/a |
|
wp__fdr_reports_security (module security package) |
valid |
none yet |
not created yet |
n/a |
|
wp__fdr_reports_security (module security analyses) |
security analysis FDR not yet defined by the process |
n/a |
none yet |
not created yet |
n/a |
performed by external experts |
n/a |
none yet |
not created yet |
n/a |
|
valid |
none yet |
not created yet |
n/a |
||
valid |
none yet |
Kyron Module Verification R... (doc__kyron_verification_report) |
draft |
||
valid |
none yet |
valid |
|||
valid |
none yet |
valid |
|||
valid |
none yet |
|
n/a |
Work Product Id |
Link to process |
Process status |
Link to issue |
Link to WP |
WP status |
|---|---|---|---|---|---|
valid |
none yet |
Kyron Runtime Component Req... (doc__kyron_runtime_requirements) (executor core, plus minimal requirements for timers, channels, networking, reusable spawn, worker thread parameters and the safety API; I/O and IPC pending) |
draft |
||
valid |
none yet |
not created yet |
n/a |
||
valid |
n/a |
Kyron Runtime Requirements ... (doc__kyron_runtime_req_inspection) (placeholder, content not written yet) |
draft |
||
valid |
none yet |
Kyron Runtime Component Arc... (doc__kyron_runtime_architecture) (static view, three dynamic views and an interface for each runtime part; requirement links and interface operations for the executor core only) |
draft |
||
process link not yet defined |
n/a |
none yet |
not created yet |
n/a |
|
valid |
none yet |
Kyron Runtime Architecture ... (doc__kyron_runtime_arc_inspection) (placeholder, content not written yet) |
draft |
||
valid |
none yet |
Kyron Runtime Detailed Design (doc__kyron_runtime_detailed_design) (placeholder, content not written yet) and the code in |
draft |
||
valid |
none yet |
Rust unit tests in |
n/a |
||
valid |
none yet |
Kyron Runtime Implementatio... (doc__kyron_runtime_impl_inspection) (placeholder, content not written yet) |
draft |
||
valid |
none yet |
component integration tests in |
n/a |
Work Product Id |
Link to process |
Process status |
Link to issue |
Link to WP |
WP status |
|---|---|---|---|---|---|
valid |
none yet |
Kyron Foundation Component ... (doc__kyron_foundation_requirements) (no component requirements yet) |
draft |
||
valid |
none yet |
not created yet |
n/a |
||
valid |
n/a |
Kyron Foundation Requiremen... (doc__kyron_foundation_req_inspection) (placeholder, content not written yet) |
draft |
||
valid |
none yet |
Kyron Foundation Component ... (doc__kyron_foundation_architecture) (static view, dynamic view and interface; no requirement links yet) |
draft |
||
process link not yet defined |
n/a |
none yet |
not created yet |
n/a |
|
valid |
none yet |
Kyron Foundation Architectu... (doc__kyron_foundation_arc_inspection) (placeholder, content not written yet) |
draft |
||
valid |
none yet |
Kyron Foundation Detailed D... (doc__kyron_foundation_detailed_design) (placeholder, content not written yet) and the code in |
draft |
||
valid |
none yet |
Rust unit tests in |
n/a |
||
valid |
none yet |
Kyron Foundation Implementa... (doc__kyron_foundation_impl_inspection) (placeholder, content not written yet) |
draft |
||
valid |
none yet |
component integration tests in |
n/a |