potiuk opened a new pull request, #1749: URL: https://github.com/apache/airflow-site/pull/1749
Adds a **Security** section to the website (`/security/`, in the main menu): - how to report a vulnerability privately ([email protected], the ASF process) and a pointer to the Airflow Security Model; - an index of every CVE the ASF has published for Apache Airflow products, newest first, with product, severity and title; - one page per CVE (`/security/cve-yyyy-nnnnn/`): severity, affected products/packages and versions, CWE, description, credits, references, published/updated dates and a link to the record on cve.org; - per-product listings: Apache Airflow (175), Providers (79, grouped by provider package), Task SDK (1). Listings for the Helm chart, Python client and airflowctl appear automatically once a CVE for them exists. ### Data `landing-pages/site/data/security/cves/<CVE-ID>.json` holds the CVE JSON 5.x record of each CVE exactly as published on cve.org (only a `CNA_private` block would be dropped; none of the published records has one), serialised with sorted keys, 2-space indent and a trailing newline. This is the format Apache Magpie's `cve-json-file` advisory-records layout writes, so each newly published CVE can be added by a PR that only adds its record file. This backfill contains all 247 PUBLISHED records assigned by the Apache CNA that affect an Apache Airflow product (2017 to today). REJECTED and RESERVED IDs are not included. `data/security/products.yaml` maps records to listings: by `packageName` where the record has one, and through a small alias table for older records that only name the product. ### Notes for review - All record text is external data: templates output it only through `{{ }}` so it is HTML-escaped (no `safeHTML`/`markdownify` on record fields); descriptions are split into paragraphs by the template. - Severity is the ASF rating carried in the record's `metrics[].other`; no CVSS is computed or shown. 36 older records carry no rating and show "Not rated". - `pretty-format-json` now skips `data/security/cves/`: its `--top-keys` reordering and ASCII escaping would rewrite the records away from the published form. - JSON files need no licence-header exemption: no prek licence hook covers `.json`, and there is no RAT check in this repository. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 5 Generated-by: Claude Opus 5 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
