#security #vulnerabilities #advisory

csaf

An implementation of the Common Security Advisory Framework (CSAF)

5 unstable releases

0.5.0 May 8, 2023
0.4.0 Mar 11, 2023
0.3.2 Nov 10, 2021
0.3.1 Oct 10, 2021
0.3.0 Oct 10, 2021

#1407 in Parser implementations

Download history 24/week @ 2024-03-11 42/week @ 2024-03-18 31/week @ 2024-03-25 67/week @ 2024-04-01 21/week @ 2024-04-08 34/week @ 2024-04-15 152/week @ 2024-04-22 48/week @ 2024-04-29 213/week @ 2024-05-13 113/week @ 2024-05-20 189/week @ 2024-05-27 252/week @ 2024-06-03 34/week @ 2024-06-10 87/week @ 2024-06-17 125/week @ 2024-06-24

500 downloads per month
Used in 3 crates

MIT license

75KB
913 lines

Common Security Advisory Framework (CSAF)

Crates.io Crates.io docs.rs GitHub branch checks state

A lovingly hand-crafted1 implementation of CSAF for Rust. Currently, based on the v2.0 editor draft. Should be considered strictly less-strict than the spec right now - valid CSAF should deserialize successfully, but invalid CSAF may also succeed and the library may generate invalid CSAF.

My current use case is for experimenting with the VEX profile.

1 - CSAF defines a JSON Schema schema using Draft 2020-12. schemafy exists for generating Rust code from JSON Schema, but supports an older draft which differs significantly from the 2020-12 draft.

Dependencies

~8–20MB
~328K SLoC