#security #advisory #vulnerabilities

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

#1370 in Parser implementations

Download history 81/week @ 2024-01-09 144/week @ 2024-01-16 3/week @ 2024-01-23 49/week @ 2024-01-30 10/week @ 2024-02-06 60/week @ 2024-02-13 45/week @ 2024-02-20 21/week @ 2024-02-27 62/week @ 2024-03-05 24/week @ 2024-03-12 41/week @ 2024-03-19 31/week @ 2024-03-26 66/week @ 2024-04-02 19/week @ 2024-04-09 51/week @ 2024-04-16

170 downloads per month
Used in 2 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–23MB
~345K SLoC