Skip to content

Commit 7a0b1a5

Browse files
authored
Merge pull request #2383 from ziadhany/fedcode-docs
fedcode-next: Documentation on how to use the new curation feature
2 parents c006e6c + 71c73e6 commit 7a0b1a5

30 files changed

Lines changed: 236 additions & 3 deletions
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. _advisory-package-curation:
2+
3+
Advisory Package Curation
4+
=========================
5+
6+
Follow these steps to curate the package versions associated with
7+
vulnerability advisories:
8+
9+
.. image:: images/advisory-package-curation.png
10+
11+
1. Click the alias you want to curate (for example, **CVE-2024-6221**).
12+
13+
2. Select the appropriate package version status.
14+
15+
- For each package version, click **Select value** and choose one of the following statuses:
16+
17+
- **AFFECTED**
18+
- **FIXED**
19+
- **UNAFFECTED**
20+
21+
.. image:: images/package_select_value.png
22+
23+
.. note::
24+
25+
Click **Select value** multiple times to cycle through the available
26+
statuses (**AFFECTED**, **FIXED**, and **UNAFFECTED**).
27+
28+
- if one of the suggested advisories is correct, click **Pick this** to automatically
29+
apply the advisory package versions statuses.
30+
31+
.. image:: images/package_pick_this.png
32+
33+
3. Click **Next item**. If the button is available, repeat steps 2–3 for each
34+
remaining package.
35+
36+
.. image:: images/package_next_item.png
37+
38+
4. After reviewing all packages, click **Submit** to save and complete the package curation.
39+
40+
.. image:: images/package_submit.png
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.. _advisory-severity-curation:
2+
3+
Advisory Severity Curation
4+
==========================
5+
6+
Follow these steps to curate the severity associated with vulnerability advisories:
7+
8+
.. image:: images/advisory-severity-curation.png
9+
10+
1. Click the alias you want to curate (for example, ``GHSA-5rfv-66g4-jr8h``)
11+
12+
2. For each key, select the appropriate vector value from the available options
13+
14+
.. image:: images/severity_select_value.png
15+
16+
Alternatively, select the correct advisory severity
17+
18+
.. image:: images/severity_pick_this.png
19+
20+
3. Click **Next item**, if the button is available, and repeat steps 2–3 for each remaining severity
21+
22+
4. Once you have curated all advisories, click **Submit**
23+
24+
.. image:: images/severity_submit.png

docs/source/advisory-todos.rst

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
.. _advisory_todos:
2+
3+
Advisory Todos
4+
==============
5+
6+
Overview
7+
--------
8+
9+
The Advisory To-Dos queue contains security advisories that require
10+
manual review to improve the quality and accuracy of VulnerableCode
11+
data.
12+
13+
Supported Advisory Curation Types
14+
---------------------------------
15+
16+
Our advisory curation process supports enriching and validating the
17+
following vulnerability advisory metadata, depending on the information
18+
available from trusted sources:
19+
20+
* **Package Curation**: See :ref:`advisory-package-curation`.
21+
22+
- Advisories with conflicting **fixed** package versions.
23+
- Advisories with conflicting **affected** package versions.
24+
- Advisories with conflicting **affected** and **fixed** package
25+
versions.
26+
27+
* **Extra Mitigation Curation**: See :ref:`extra-mitigation-curation`.
28+
29+
- *(Not currently supported)* Advisories missing affected package
30+
versions.
31+
- Advisories missing fixed package
32+
versions.
33+
- *(Not currently supported)* Advisories missing both affected and
34+
fixed package versions.
35+
36+
* **Severity Curation**: Advisories with conflicting CVSS vectors
37+
(CVSSv3, CVSSv3.1, and CVSSv4). See
38+
:ref:`advisory-severity-curation`.
39+
40+
* **Weakness Curation**: Advisories with conflicting Common Weakness
41+
Enumeration (CWE) identifiers. See
42+
:ref:`advisory-weakness-curation`.
43+
44+
* **Summary Curation**: *(Not currently supported).*
45+
46+
Each curation guide provides detailed instructions for reviewing
47+
advisories in the corresponding curation queue.
48+
49+
Accessing the Advisory To-Dos Queue
50+
-----------------------------------
51+
52+
1. Go to `public.vulnerablecode.io
53+
<https://public.vulnerablecode.io/>`_.
54+
55+
2. Click **Advisory To-Dos**.
56+
57+
.. image:: images/advisory-to-dos-click.png
58+
59+
3. Click **Continue**.
60+
61+
.. image:: images/continue-button.png
62+
63+
4. Search for advisories by **Alias**, or filter the list by
64+
**Resolved status** or **Issue type**.
65+
66+
.. image:: images/advisory-to-do-dashbaord.png
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.. _advisory-weakness-curation:
2+
3+
Advisory Weakness Curation
4+
===========================
5+
6+
Follow these steps to curate the `Common Weakness Enumeration (CWE) <https://cwe.mitre.org/>`_ associated with vulnerability advisories:
7+
8+
.. image:: images/advisory-weakness-curation.png
9+
10+
1. Click the Alias you want to curate, for example, ``CVE-2022-24512``.
11+
12+
2. Select the appropriate CWE status (``APPLICABLE`` or ``NOT APPLICABLE``) for the selected CWE ID.
13+
14+
.. image:: images/weakness_select_value.png
15+
16+
OR, you can select the CWE status from an advisory that you trust to provide accurate data.
17+
18+
.. image:: images/weakness_pick_this.png
19+
20+
3. Click **Submit**.
21+
22+
.. image:: images/weakness_submit.png
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
.. _extra-mitigation-curation:
2+
3+
Extra Mitigation Curation
4+
=========================
5+
6+
Extra mitigation curation is currently supported only for vulnerability
7+
advisories with missing fixed packages.
8+
9+
.. image:: images/extra_mitigation_curation.png
10+
11+
Follow these steps to provide mitigation information for these advisories.
12+
13+
1. Click the alias you want to curate (for example, **UBUNTU-CVE-2026-7790**).
14+
15+
2. Enter the appropriate mitigation types and mitigation data.
16+
17+
- For each package, provide the mitigation data and
18+
notes for the following mitigation types:
19+
20+
- **Upgrade to Versions**: Specify the version(s) users
21+
should upgrade to in order to remediate the vulnerability.
22+
Enter one or more fixed versions separated by commas
23+
(e.g., 1.0.1, 2.3.4). Use the note field for any
24+
additional upgrade guidance or constraints.
25+
26+
- **Downgrade to Versions**: Specify the version(s) users
27+
should downgrade to if no fixed upgrade is available.
28+
Enter one or more non-vulnerable versions separated
29+
by commas (e.g., 1.0.1, 2.3.4). Use the note field for
30+
any additional guidance or cautions related to the downgrade.
31+
32+
- **Apply Patch**: Provide a URL to the official
33+
patch or hotfix that remediates the vulnerability.
34+
Use the note field to include any additional
35+
instructions, prerequisites, or known limitations.
36+
37+
- **Change Config**: Provide the configuration changes
38+
that mitigate the vulnerability, such as modifying
39+
settings, disabling features, or enabling security controls.
40+
Use the note field to include any potential side effects
41+
or additional implementation guidance.
42+
43+
- **Apply Network Restrictions**: Specify the network
44+
restrictions required to mitigate the vulnerability,
45+
such as blocking or limiting access to specific ports,
46+
IP addresses, or network ranges. Use the note field
47+
to provide firewall rules, scope details, or additional
48+
implementation guidance.
49+
50+
- **Replace Package**: Specify the Package URL of the
51+
replacement package to use instead of the vulnerable
52+
package. Use the note field for compatibility
53+
details or additional guidance.
54+
55+
3. Click **Next item**. If the button is available,
56+
repeat steps 2–3 for each remaining package in the queue.
57+
58+
.. image:: images/extra_mitigation_next_item.png
59+
60+
4. After reviewing all mitigated packages,
61+
click **Submit** to save and complete the mitigation curation.
62+
63+
.. image:: images/extra_mitigation_submit.png
340 KB
Loading
354 KB
Loading
129 KB
Loading
42 KB
Loading
207 KB
Loading

0 commit comments

Comments
 (0)