Kyron Security Plan#

Kyron Security Plan
status: valid
security: YES
safety: QM
version: 2

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#

Table 5 Module 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 of kyron-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 on Cargo.lock and 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.

Table 6 Module Work Products#

Work Product Id

Link to process

Process status

Link to issue

Link to WP

WP status

wp__module_security_plan

gd_guidl__security_plan_definitions

valid

none yet

this document

valid

wp__module_security_package

gd_guidl__security_package

valid

none yet

not created yet

n/a

wp__fdr_reports_security (module security plan)

gd_chklst__security_plan

valid

none yet

not created yet

n/a

wp__fdr_reports_security (module security package)

gd_chklst__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

wp__audit_report_security

performed by external experts

n/a

none yet

not created yet

n/a

wp__module_security_manual

gd_temp__module_security_manual

valid

none yet

not created yet

n/a

wp__verification_module_ver_report

gd_temp__mod_ver_report

valid

none yet

Kyron Module Verification R... (doc__kyron_verification_report)

draft

wp__module_sw_release_note

gd_temp__rel_mod_rel_note

valid

none yet

Kyron Release Note (doc__kyron_release_note)

valid

wp__module_user_manual

gd_temp__rel_mod_user_manual

valid

none yet

Kyron User Manual (doc__kyron_user_manual)

valid

wp__sw_module_sbom

gd_guidl__security_plan_definitions

valid

none yet

//:sbom_product, attached to each release

n/a

Table 7 Component Kyron Runtime Work Products#

Work Product Id

Link to process

Process status

Link to issue

Link to WP

WP status

wp__requirements_comp

gd_temp__req_comp_req

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

wp__requirements_comp_aou

gd_temp__req_aou_req

valid

none yet

not created yet

n/a

wp__requirements_inspect

gd_chklst__req_inspection

valid

n/a

Kyron Runtime Requirements ... (doc__kyron_runtime_req_inspection) (placeholder, content not written yet)

draft

wp__component_arch

gd_temp__arch_comp

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

wp__sw_component_security_analysis

process link not yet defined

n/a

none yet

not created yet

n/a

wp__sw_arch_verification

gd_chklst__arch_inspection_checklist

valid

none yet

Kyron Runtime Architecture ... (doc__kyron_runtime_arc_inspection) (placeholder, content not written yet)

draft

wp__sw_implementation

gd_guidl__implementation

valid

none yet

Kyron Runtime Detailed Design (doc__kyron_runtime_detailed_design) (placeholder, content not written yet) and the code in src/kyron and src/kyron-macros

draft

wp__verification_sw_unit_test

gd_guidl__verification_guide

valid

none yet

Rust unit tests in src/kyron and src/kyron-macros (not linked to requirements; requirement-based verification is done by the component integration tests)

n/a

wp__sw_implementation_inspection

gd_chklst__impl_inspection_checklist

valid

none yet

Kyron Runtime Implementatio... (doc__kyron_runtime_impl_inspection) (placeholder, content not written yet)

draft

wp__verification_comp_int_test

gd_guidl__verification_guide

valid

none yet

component integration tests in tests/test_cases (executor core tests linked to requirements; further areas pending)

n/a

Table 8 Component Kyron Foundation Work Products#

Work Product Id

Link to process

Process status

Link to issue

Link to WP

WP status

wp__requirements_comp

gd_temp__req_comp_req

valid

none yet

Kyron Foundation Component ... (doc__kyron_foundation_requirements) (no component requirements yet)

draft

wp__requirements_comp_aou

gd_temp__req_aou_req

valid

none yet

not created yet

n/a

wp__requirements_inspect

gd_chklst__req_inspection

valid

n/a

Kyron Foundation Requiremen... (doc__kyron_foundation_req_inspection) (placeholder, content not written yet)

draft

wp__component_arch

gd_temp__arch_comp

valid

none yet

Kyron Foundation Component ... (doc__kyron_foundation_architecture) (static view, dynamic view and interface; no requirement links yet)

draft

wp__sw_component_security_analysis

process link not yet defined

n/a

none yet

not created yet

n/a

wp__sw_arch_verification

gd_chklst__arch_inspection_checklist

valid

none yet

Kyron Foundation Architectu... (doc__kyron_foundation_arc_inspection) (placeholder, content not written yet)

draft

wp__sw_implementation

gd_guidl__implementation

valid

none yet

Kyron Foundation Detailed D... (doc__kyron_foundation_detailed_design) (placeholder, content not written yet) and the code in src/kyron-foundation

draft

wp__verification_sw_unit_test

gd_guidl__verification_guide

valid

none yet

Rust unit tests in src/kyron-foundation (not yet linked to requirements)

n/a

wp__sw_implementation_inspection

gd_chklst__impl_inspection_checklist

valid

none yet

Kyron Foundation Implementa... (doc__kyron_foundation_impl_inspection) (placeholder, content not written yet)

draft

wp__verification_comp_int_test

gd_guidl__verification_guide

valid

none yet

component integration tests in tests/test_cases (not yet linked to requirements)

n/a