Commit Graph

40 Commits

Author SHA1 Message Date
Tony Arcieri
3796cc005e README.md: point chat badge to Zulip (#449) 2020-10-25 12:56:06 -07:00
Tony Arcieri
6e48979dab Add EXAMPLE_ADVISORY.md (#436)
Adds an example advisory in the V3 format (#414) and updates the schema
information in README.md to reflect that.
2020-10-22 07:05:44 -07:00
Tony Arcieri
bfa9e12685 Add rustsec crate advisory for breaking changes to advisory format (#415)
In theory this advisory should trigger this feature of `cargo-audit`
which checks for advisories filed against the `rustsec` crate:

https://github.com/RustSec/cargo-audit/blob/783f221/src/auditor.rs#L178-L199

After merging, I will test with an older `cargo-audit` version to see if
it has the intended effect.
2020-10-01 08:19:41 -07:00
Tony Arcieri
297725a166 README.md: bump maintained quarter comment 2020-07-01 15:53:49 -07:00
Veetaha
b0bc62bdd5 Add cargo-deny to the list RustSec clients
`cargo-deny` is an awesome tool, it seems to be the superset of `cargo-audit`. I think it is reasonable to mention it here along with `cargo-audit`.
cc @Jake-Shadle
2020-05-02 20:27:32 +03:00
Dirkjan Ochtman
3c71342be3 Mention CVSS field in template (see #248) 2020-03-24 15:36:32 +01:00
Tony Arcieri
64c17acfe3 Migrate all advisories to V2 format (closes #228)
As announced in #228, this commit migrates all advisories to the new V2
format, which splits version information into a separate section, and
now has a structure which corresponds to the internal code structure of
the `rustsec` crate.

This is a breaking change for users of `cargo-audit` < 0.9, and anyone
who has written a 3rd party advisory format parser.
2020-03-01 10:46:35 -08:00
Tony Arcieri
b1c200fb52 README.md: Bump maintained date to Q1 2020 2020-01-03 13:49:23 -05:00
Abid Omar
7f4c2e1863 fix typo in Readme 2019-11-11 21:04:03 +01:00
Tony Arcieri
e949ed8762 README.md: Update build badge
Using GitHub actions now
2019-10-07 21:44:57 -07:00
Tony Arcieri
9b0038eb76 README.md: Update advisory template with [affected] section
Documents the new `[affected]` section of an advisory, as supported by
the `rustsec` crate v0.13.0.
2019-09-09 12:40:24 -07:00
Alex Gaynor
de8a052d3e Tell people to delete comments in the example advisory 2019-08-31 15:27:07 -04:00
Tony Arcieri
985c55342a RUSTSEC-2019-0008: fix link to disclosure PR 2019-07-03 07:37:05 -07:00
Tony Arcieri
75a40b530a Assign RUSTSEC-2019-0001 to ammonia
Original PR: https://github.com/RustSec/advisory-db/pull/93
2019-05-04 16:39:43 -07:00
Tony Arcieri
59ea63710e README.md: Bump maintained date 2019-01-13 17:31:01 -08:00
Tony Arcieri
7caafae73b README.md: Bump maintained date
This is largely to work around the following:

```
$ cargo audit
    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
error: couldn't fetch advisory database: git operation failed: no signature on commit 0a981e2b6f: Add affected functions to legacy security warnings (#83) (Moritz Beller <Inventitech@users.noreply.github.com>)
```

I tried to Squash-and-Merge on #83. GitHub does not sign the resulting
commit. Oops.

So this commit is just to make HEAD a GitHub-signed merge commit.
2018-12-21 06:15:44 -08:00
Moritz Beller
5602386b18 Add new affected functions attribute to template
Refs #68
2018-12-20 22:10:29 +01:00
Tony Arcieri
875d4d5fdd Assign RUSTSEC-2018-0008 to slice-deque
Original PR: https://github.com/RustSec/advisory-db/pull/70
2018-12-06 09:18:37 -08:00
Tony Arcieri
03eebdf3d2 README.md: Reorder advisory example 2018-07-26 21:10:29 -07:00
Tony Arcieri
4efb940080 README.md: Documented affected_arch and affected_os
These are new attributes as of `rustsec` crate v0.9.0 which use enums
from the `platforms` crate to represent CPU architectures and operating
systems.

This replaces the previous `affected_platforms` attribute (only used in
one advisory)
2018-07-26 21:00:11 -07:00
Tony Arcieri
2d9a2632a7 Keywords
Documents the new `keywords` attribute and adds keywords to all current
advisories. These can be consumed by the web UI.
2018-07-24 16:02:35 -07:00
Tony Arcieri
2632340526 Affected Platforms
Documents the use of the `affected_platforms` attribute in advisories,
and adds it to a relevant advisory.
2018-07-24 15:53:43 -07:00
Tony Arcieri
ad872b63b2 README.md: Move title/description up in advisory example 2018-07-24 15:36:23 -07:00
Tony Arcieri
9c2f9c39a7 README.md: Fixups for TOML template
Add `id` field, cleanup comments, mandatory/optional notes, and ordering
2018-07-24 08:07:28 -07:00
Tony Arcieri
992eff3473 README.md: Better highlight cargo-audit and cleanup copy 2018-07-23 17:26:14 -07:00
Tony Arcieri
5afa669831 README.md: Add vuln reporting instructions 2018-07-23 16:35:33 -07:00
Tony Arcieri
2777a29883 README.md: Add gitter badge 2018-07-23 11:34:22 -07:00
Tony Arcieri
cb81d3ceaa Rename "dwf" TOML tag to "aliases" (closes #36)
Nobody knows what "dwf" is, and the data isn't presently consumed or
surfaced by the `rustsec` crate, so we (hopefully) can rename it without
breaking anything.
2018-07-21 19:47:30 -07:00
Tony Arcieri
2c7428eeaf README.md: Add a 'maintained' shield from shields.io 2018-07-19 20:01:05 -07:00
Tony Arcieri
05af1866b1 Revert "Merge pull request #8 from RustSec/rename-package-to-crate-name"
Cargo uses "package" in Cargo.lock, so there is wisdom to using "package"
instead of "crate_name"

This reverts commit 986c090c06, reversing
changes made to 9556f0fdee.
2017-02-26 00:26:22 -08:00
Tony Arcieri
c8e8676d1a Add build status badges to README.md 2017-02-25 23:58:45 -08:00
Tony Arcieri
f4dbb0d82c Rename package TOML attribute to crate_name
The correct name for a Rust package is a "crate", so something with "crate" is
less ambiguous than "package".

However, "crate" itself is a Rust keyword. To avoid clashes in Rust code which
uses this same attribute name, "crate_name" can be used instead unambigously.
2017-02-25 23:13:36 -08:00
Tony Arcieri
2141fa43c6 Add a "date" field to advisories
Should indicate date of disclosure of the vulnerability
2017-02-25 16:38:30 -08:00
Tony Arcieri
caac500122 Use [advisory] as the table header for advisories
Was previously `[vulnerability]`, but as the contents are a security advisory
it's probably a more apt label.
2017-02-25 16:21:38 -08:00
Tony Arcieri
efdcc6e849 Add titles to advisories
Once again taking a cue from RubySec (but also systems like CVE),
advisories should have a one-liner title
2017-02-25 15:40:22 -08:00
Tony Arcieri
c28b7ceb38 Separate "unaffected_versions" and "patched_versions"
Taking a cue from RubySec, this splits the original "versions" attribute into
separate ones for versions which were never vulnerable, and ones which include
an explicit fix for a vulnerability.
2017-02-25 15:35:43 -08:00
Tony Arcieri
520426b0f8 Text description of public domain license 2017-02-25 15:12:42 -08:00
Tony Arcieri
9b8366731a Dedicate advisory database to the public domain 2017-02-25 15:10:28 -08:00
Tony Arcieri
9bbd818e18 Add advisory format example
This is using the TOML format described in the (presently open) initial RustSec
RFC for security advisories described here:

https://github.com/RustSec/rfcs/pull/1
2017-02-25 15:03:26 -08:00
Tony Arcieri
6c32608b11 Initial commit 2017-02-25 14:37:59 -08:00