Scroll to navigation

CVE PUBLISH(1) cve publish Manual CVE PUBLISH(1)

NAME

cve-publish - Publish a CVE record for a reserved (or...

SYNOPSIS

cve publish [OPTIONS] CVE_ID

DESCRIPTION

Publish a CVE record for a reserved (or rejected) CVE ID.


If the CVE is already published, this action will update its record. A published CVE can only be
moved to the rejected state with an appropriate reject record (see `cve reject`). A published
CVE cannot be moved back to the reserved state.


The CVE record can be specified as a string:


cve publish CVE-2022-1234 -j '{"affected": [], "descriptions": [], "references": {}, ...}'


Or passed in a file:


cve publish CVE-2022-1234 -f v5_record.json


For information on the required properties in a given CVE JSON record, see the schema in:


https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json


Because the CVE Services API only expects the cnaPublishedContainer contents of the full record,
the record you pass to this command can specify just that data, and not the full record.

OPTIONS

JSON body of CVE record to publish.
File containing JSON body of CVE record to publish.
Print response JSON.
2023-02-15 1.2.1