feat(vex): draft ENISA notifications of actively exploited vulnerabilities (CRA Art. 14) (#498, 4/4)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 8m29s

- compliance_core::enisa_docs: per actively exploited CVE alert (CISA KEV,
  SSVC active) whose product is affected or under investigation, a draft of
  the three CRA Article 14(2) stages (early warning 24 h, vulnerability
  notification 72 h, final report 14 days after a fix) in the fields of
  ENISA's single reporting platform: numbers, names and per-stage
  requirements of the ENISA CRA SRP Glossary v1.4 (2026-10-01, recorded in
  the output), each with its cra_art14_ref. Filled from the alert, its
  exploitation and the VEX statement; required fields Prüfwerk cannot fill
  (always the Member States) are listed under to_complete. Stamped "Draft,
  not submitted"; nothing is submitted.
- CveAlert.exploited_seen_at: set once, by the first scan that finds the
  alert actively exploited; the deadlines run from it (or ?aware_at=).
- API: GET /api/v1/targets/{id}/enisa (reportability per alert),
  GET /api/v1/cves/{id}/enisa?aware_at= (draft; 422 with the reason when not
  reportable). Evidence pack: enisa-drafts.json when any is reportable.
- Dashboard: "ENISA-Meldung (Entwurf)" and the early warning's due time on
  reportable rows of the VEX card.
- Docs DE/EN (ENISA section, glossary version); test plan check 31.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-10-06 17:03:55 +02:00
1 parent 77d27646b8
commit 55aa4d7249
16 files changed
+1014 -4

No files matched your search

+4
View File
@@ -283,6 +283,10 @@ API: `GET /api/v1/targets/{id}/cves` lists the alerts with their statements,
`GET /api/v1/targets/{id}/csaf?namespace=<publisher URL>&lang=de|en` the same
statements as a CSAF 2.0 VEX advisory (a TLP:AMBER draft; see
[Assessing vulnerabilities](./vex-en.md#csaf-draft)).
`GET /api/v1/targets/{id}/enisa` lists the actively exploited alerts and whether
CRA Art. 14 asks for a notification; `GET /api/v1/cves/{id}/enisa?aware_at=<RFC 3339>`
downloads the draft notification in the fields of ENISA's reporting platform (see
[Assessing vulnerabilities](./vex-en.md#enisa-notification-cra-art-14)).
## SBOM quality
+39
View File
@@ -77,3 +77,42 @@ the publisher and the statements and set the TLP label to **WHITE** (public;
"CLEAR" in TLP 2.0) or **GREEN**. The draft passes the CSAF schema and the
standard's mandatory tests. It is also in the evidence pack
(`csaf-vex.json`, with the placeholder).
## ENISA notification (CRA Art. 14)
Since 11 September 2026, manufacturers must notify **actively exploited
vulnerabilities** in their products through ENISA's reporting platform (CRA
Art. 14(1) and (2)): an **early warning within 24 hours**, a **vulnerability
notification within 72 hours** and a **final report no later than 14 days**
after a corrective measure is available.
Prüfwerk recognises actively exploited vulnerabilities from CISA's KEV
catalog and the SSVC exploitation "active". Where the product is affected or
under investigation, or the vulnerability was fixed after a scan found it
exploited (then the final report is due), the row shows **ENISA notification (draft)** and when
the early warning is due (24 hours after the scan that first found the
exploitation). The draft
- holds the platform's fields in their order, per stage (early warning,
72-hour notification, final report), with number, name, requirement as
ENISA states it and the point of Art. 14 it serves (`cra_art14_ref`),
following the **ENISA CRA SRP Glossary, version 1.4 of 1 October 2026**
(recorded in the draft under `glossary`);
- fills what Prüfwerk knows: product, component, CVE, the nature of the
exploitation, measures from your VEX statement, severity;
- lists under `to_complete` what only you know: always the Member States
where the product is made available, and the product version, when the
exploitation occurred, the measures taken and the date the fix became
available;
- is stamped **"Draft, not submitted"**. Prüfwerk submits nothing: you enter
the data in the reporting platform (`portal.cra-srp.enisa.europa.eu`)
yourself, through the CSIRT of your main establishment.
Through the API you can give the time the deadlines run from (`aware_at`);
without it, the first scan that found the exploitation counts. For a fixed
vulnerability the draft carries the date of the fix (field v22) and the final
report's deadline. A vulnerability assessed "Not affected", or fixed before
any scan found it exploited, gets no draft. Actively
exploited vulnerabilities are also in the evidence pack as
`enisa-drafts.json`. When ENISA changes the glossary we update the fields;
the version in a draft shows which one it follows.
+40
View File
@@ -81,3 +81,43 @@ TLP-Kennzeichnung auf **WHITE** (öffentlich, in TLP 2.0 „CLEAR“) oder
**GREEN**. Der Entwurf besteht das CSAF-Schema und die Pflichttests des
CSAF-Standards. Er liegt auch im Nachweispaket (`csaf-vex.json`, mit
Platzhalter).
## ENISA-Meldung (CRA Art. 14)
Seit dem 11. September 2026 müssen Hersteller **aktiv ausgenutzte
Schwachstellen** in ihren Produkten über die Meldeplattform der ENISA melden
(CRA Art. 14(1) und (2)): eine **Frühwarnung binnen 24 Stunden**, eine
**Schwachstellenmeldung binnen 72 Stunden** und einen **Abschlussbericht
spätestens 14 Tage**, nachdem eine Abhilfe verfügbar ist.
Prüfwerk erkennt aktiv ausgenutzte Schwachstellen über den KEV-Katalog der
CISA und die SSVC-Bewertung „active“. Ist das Produkt betroffen oder in
Prüfung, oder wurde die Schwachstelle behoben, nachdem eine Prüfung ihre
Ausnutzung fand (dann ist der Abschlussbericht fällig), zeigt die Zeile **ENISA-Meldung (Entwurf)** und die Frist der
Frühwarnung (24 Stunden ab der Prüfung, die die Ausnutzung zuerst fand). Der
Entwurf
- enthält die Felder der Meldeplattform in ihrer Reihenfolge, je Phase
(Frühwarnung, 72-Stunden-Meldung, Abschlussbericht), mit Nummer, Name,
Pflicht laut ENISA und dem Bezug in Art. 14 (`cra_art14_ref`), nach dem
**ENISA CRA SRP Glossary, Version 1.4 vom 1. Oktober 2026** (im Entwurf
unter `glossary` vermerkt);
- füllt, was Prüfwerk weiß: Produkt, Komponente, CVE, Art der Ausnutzung,
Abhilfe aus Ihrer VEX-Aussage, Schweregrad;
- listet unter `to_complete`, was nur Sie wissen: immer die Mitgliedstaaten,
in denen das Produkt bereitgestellt wird, dazu Produktversion, Zeitpunkt der
Ausnutzung, ergriffene Maßnahmen und Datum der Abhilfe;
- ist als **„Draft, not submitted“** gekennzeichnet. Prüfwerk reicht nichts
ein: Sie übertragen die Angaben selbst in die Meldeplattform
(`portal.cra-srp.enisa.europa.eu`), über die zuständige CSIRT Ihres
Hauptsitzes.
Den Zeitpunkt, ab dem die Fristen laufen, können Sie über die API angeben
(`aware_at`); ohne ihn gilt die erste Prüfung, die die Ausnutzung fand. Ist
eine behobene Schwachstelle bekannt, trägt der Entwurf das Datum der Behebung
(Feld v22) und die Frist des Abschlussberichts. Ist sie als „Nicht
betroffen“ bewertet, oder wurde sie behoben, bevor eine Prüfung ihre
Ausnutzung fand, gibt es keinen Entwurf. Aktiv ausgenutzte Schwachstellen stehen als
`enisa-drafts.json` auch im Nachweispaket. Ändert ENISA das Glossar,
passen wir die Felder an; die Version im Entwurf zeigt, nach welchem er
erstellt wurde.
@@ -30,6 +30,7 @@ together on stage in one pass before the next prod promotion.
| #498 (3/4) | CSAF 2.0 VEX advisory draft |
| #508 (B1) | Lockfile hashes and download URLs in the SBOM |
| #508 (B2) | Component creator (project URL) in the SBOM |
| #498 (4/4) | Draft ENISA notifications (CRA Art. 14) for actively exploited vulnerabilities |
**Customer-visible on the next prod rescan** is marked **[visible]**: these
change what a customer sees on their existing targets, without them doing
@@ -646,6 +647,41 @@ Use the targets of check 29 and a Go module.
- **[visible]** SBOM exports and evidence packs name component creators
after the next rescan.
### 31. #498 part 4: draft ENISA notifications (CRA Art. 14)
Use the log4j target of check 19 (CVE-2021-44228 is in CISA's KEV).
- **Do:** rescan; open the target's **Schwachstellen und VEX**. **Expect:**
the log4j row has **ENISA-Meldung (Entwurf)** and "Frühwarnung fällig bis
<date>" (24 h after this scan); rows without KEV/SSVC-active have no
button. Log/Mongo: the alert has `exploited_seen_at`, unchanged by a second
rescan. Note: every alert already in KEV gets the first post-deploy scan as
`exploited_seen_at`, so for long-known CVEs the due time is "now + 24 h"
of that scan (or already past on a later look); the API's `aware_at`
overrides it.
- **Do:** download the draft. **Expect:** `enisa-draft-cve-2021-44228.json`
with `status` "Draft, not submitted", `submitted: false`, `glossary`
version 1.4 (2026-10-01), `due` 24 h and 72 h after `aware_at`, and three
stages whose fields carry the SRP glossary's numbers, names and
requirements and a `cra_art14_ref`; field 1 "Vulnerability", v19 the CVE,
v27 names ransomware use where KEV says so. `to_complete` always lists
field 5 (Member States).
- **Do:** update log4j-core to 2.17.1, rescan. **Expect:** the alert turns
"Behoben" (by the scan) and still has the button: the draft's v22 is the
rescan's time and `due.final_report` 14 days later.
- **Do:** set the alert to "Nicht betroffen", reload. **Expect:** no button;
`GET /api/v1/cves/<id>/enisa` answers 422 with the reason.
`GET /api/v1/targets/<id>/enisa` lists it with `reportable: false`.
- **Do:** `GET /api/v1/cves/<id>/enisa?aware_at=2026-10-06T08:00:00Z` on a
reportable alert. **Expect:** `due.early_warning` 2026-10-07T08:00:00Z;
`aware_at=yesterday` gives 400.
- **Do:** download the evidence pack. **Expect:** `enisa-drafts.json` when
an alert is reportable, none otherwise.
- **Docs:** `/guide/vex` and `/guide/vex-en` have the ENISA section.
- **[visible]** a new button and due time on actively exploited
vulnerabilities; the evidence pack gains `enisa-drafts.json` where there
are any.
## After the pass
- The nightly job on `main` is green with the new mobile targets.