davsclaus opened a new issue, #1877:
URL: https://github.com/apache/camel-website/issues/1877

   ## Description
   
   The `/security/` page (`layouts/security/list.html`) renders every advisory 
in one flat table: 137 advisories, 108 of them from 2026. Answering "am I 
affected on 4.18.4?" means scanning every row.
   
   Problems found:
   
   - **No product field.** CVE front matter only has `cve`, `severity`, 
`affected`, `fixed`, `summary`, ... Camel K and Karavan advisories (e.g. 
`affected: "This issue affects Apache Camel K: from 2.0.0 ..."`) sit next to 
Camel core advisories with similar-looking version numbers.
   - **No component field.** The component is only sometimes a summary prefix 
(`Camel-AWS2-S3: ...`), sometimes not (`Unsafe Deserialization of ...`).
   - **Free-text version ranges in mixed formats.** `affected`: "From 4.21.0 
before 4.22.2." vs "2.13.0 up to 2.13.3". `fixed`: "V, V, V." vs "V, V and V".
   - **No link from release notes to the CVEs they fix.** E.g. 
`content/releases/release-4.22.3.md` does not list its advisories, and 
`layouts/release-note` has no cross-reference.
   - **No context on the page.** It has no table of which release lines are 
supported and no link to the batch blog posts 
(`blog/2026/07/camel-security-advisories-4.21.0`, `...-4.23.0`).
   
   ## Proposal
   
   1. **Structured front matter** for advisories:
      - `project: camel | camel-k | camel-quarkus | karavan | ...`
      - `components: [camel-aws2-s3, ...]`
      - `affected` as ranges, e.g. `affected: [{from: 4.21.0, before: 4.22.2}]`
      - `fixed: [4.22.2, 4.18.5]`
   
      Keep the free-text fields for display and for the signed `.txt.asc` 
files. Only the new fields are machine-readable.
   2. **Client-side filtering** on `/security/` by project, component, severity 
and "my version", with the version filter evaluating the structured ranges.
   3. **Collapse older years** (e.g. pre-2026, per-year `<details>`), so the 
page stays scannable.
   4. **"Security fixes in this release" on each release note**, listed 
automatically by matching `fixed`.
   5. **A short header** on `/security/` with the supported release lines (link 
to `/download/`), the Security Model, how to report, and links to the batch 
advisory posts.
   
   ## Additional Context
   
   - Migrating the existing ~137 advisories can be scripted. The `.txt.asc` 
files are signed and must not change.
   - Related quick fixes done separately: the footer "Security" link now points 
to `/security/`, and the security.txt Canonical URL is fixed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to