Document ID: IR-cpp-LIN-001
Revision: 0.1
Date: 2026-06-19
Author: Matt Jones
Standard: ISO/SAE 21434:2021 §7.4, IEC 62443-4-1 SM-2, IEC/TR 62443-2-3
Contact: matt@jellybaby.com
This document defines the incident response process for cpp-LIN, covering vulnerability discovery, classification, notification, remediation, and public disclosure for all versions of the library.
| Severity | Description | Examples |
|---|---|---|
| Critical | Memory safety bug enabling arbitrary code execution; E2E bypass | Buffer overflow in frame parsing; CRC check skip |
| High | Data corruption in safety-critical path; denial-of-service via API | Integer overflow in checksum; unbounded allocation |
| Medium | Non-safety-critical logic error; incorrect but non-exploitable behaviour | Wrong PID parity for specific ID; schedule order drift |
| Low | Documentation error; minor API misalignment with RELAY spec | Typo in error message; wrong version string |
Private reporting (preferred):
Email matt@jellybaby.com with subject [SECURITY] cpp-LIN <brief description>.
Include:
- Affected version(s)
- Reproduction steps or proof-of-concept
- Potential impact assessment
- Suggested severity (Critical / High / Medium / Low)
Do not open a public GitHub issue for security vulnerabilities. Public issues should be reserved for non-security bugs and feature requests.
GitHub Security Advisories:
Alternatively, use the GitHub Security Advisory
draft mechanism for private coordinated disclosure.
| Severity | Acknowledgment | Initial Assessment | Patch Target | Public Disclosure |
|---|---|---|---|---|
| Critical | 24 hours | 48 hours | 7 days | 14 days after patch |
| High | 48 hours | 5 days | 30 days | 30 days after patch |
| Medium | 5 days | 14 days | 90 days | 90 days after patch |
| Low | 14 days | 30 days | Next release | At release |
All timelines are calendar days from initial validated report. If a reporter requests a later disclosure date, we will accommodate up to 180 days for Critical/High vulnerabilities.
- Acknowledge receipt within the SLA above.
- Assign an internal tracking ID (format:
CVE-<YEAR>-XXXXXXXif applicable, otherwiseIR-<YEAR>-NNN). - Confirm or challenge the reported severity.
- Reproduce the issue on the latest
mainbranch. - Assess ASIL impact: does this affect a safety-critical path (E2E, checksum, frame validation)?
- Check whether a mitigation exists at the integrating system level (SEOOC.md assumptions).
- Draft a CVSS 3.1 score for Critical/High findings.
- Develop a fix on a private branch (
security/IR-<YEAR>-NNN). - Write a regression test that triggers the vulnerability (must be in the public test suite).
- Run full CI pipeline (build matrix, sanitizers, coverage, RELAY conformance, cpfusa ASIL-B).
- Issue a patch release (semantic version bump, SECURITY.md advisory link added to CHANGELOG).
- Publish a GitHub Security Advisory with CVE ID (if MITRE assigned).
- Tag the patch release and update README badge.
- Notify the reporter before public disclosure so they may publish their own writeup.
- Add the incident to the internal FMEA traceability (fmea.json) and TARA update cycle.
A finding is automatically escalated to Critical if it affects:
lin::safety::Protector::protect()orlin::safety::Receiver::unwrap()(E2E bypass)lin::protect_id()orlin::verify_pid()(PID integrity)lin::validate_frame()(frame boundary checking)lin::virt::Busconcurrency primitives (data race → undefined behaviour)
For safety-critical (ASIL-B) vulnerabilities, the following additional steps apply:
- Update
HARA.mdif the vulnerability introduces a new hazardous event. - Update
SAFETY_PLAN.mdConfirmation Measures table with a reference to the incident. - Issue an Interim Safety Notice (ISN) to known integrators (via GitHub release notes tagged
[SAFETY]). - Increment the
.fusa-reqs.jsonrequirement that was bypassed (addstatus: "under-review"field).
| Role | Contact | Availability |
|---|---|---|
| Primary Security Contact | matt@jellybaby.com | Business hours UTC+0 |
| Backup / Emergency | GitHub Security Advisory form | 24/7 async |
- ISO/SAE 21434:2021 §7.4 — Vulnerability management and disclosure
- IEC 62443-4-1:2018 SM-2 — Security management (vulnerability response)
- IEC/TR 62443-2-3:2015 — Patch management for IACS
- RELAY Spec v1.11 §22 — Security considerations
SECURITY.md— Public-facing vulnerability disclosure policySEOOC.md— Safety Element out of Context assumptions (integrator scope)