CVE
List all the recent CVEs when no parameter is passed.
List all CVEs Copy linkLink copied!
- JSON
-
GET /cve.json - XML
-
GET /cve.xml - HTML
-
GET /cve
Parameters Copy linkLink copied!
By default, search will return the first page of 1000 results, ordered by date. To change the page size use the per_page parameter, and then iterate through pages using the page parparameter.
| Parameter | Description | Example |
|---|---|---|
before |
CVEs before the query date. [ISO 8601 is the expected format] | 2016-03-01 |
after |
CVEs after the query date. [ISO 8601 is the expected format] | 2016-02-01 |
ids |
CVEs for Ids separated by comma | CVE-2017-8797,CVE-2014-0161 |
bug |
CVEs for Bugzilla Ids | 1326598,1084875 |
advisory |
CVEs for advisory | RHSA-2016:0614,RHSA-2016:0610 |
severity |
CVEs for severity | low,moderate,important |
package |
CVEs which affect the package | samba,thunderbird |
product |
CVEs which affect the product. The parameter supports Perl compatible regular expressions. | linux 7,openstack |
cwe |
CVEs with CWE | 295,300 |
cvss_score |
CVEs with CVSS score greater than or equal to this value | 7.0 |
cvss3_score |
CVEs with CVSSv3 score greater than or equal to this value | 7.0 |
page |
CVEs for page number | Default: 1 |
per_page |
Number of CVEs to return per page | Default: 1000 |
created_days_ago |
Index of CVEs definitions created days ago | 10 |
include_package_state |
CVEs with package_state information | true, false |
isCompressed |
Return response in compressed 'gzip' format | Default: true |
Retrieve a CVE Copy linkLink copied!
- Path
-
GET /cve/<CVE>.json - Example
-
/cve/CVE-2016-3706.jsonRunning this query returns a JSON representation of the CVE data for CVE-2016-3706.
CVE format Copy linkLink copied!
- Abstract
-
Table 2. CVE Field Definitions Name Description Additional Information ThreatSeverityThe Severity of the flaw. See this document for more information. PublicDateWhen the flaw became public. ISO 8601 format. BugzillaId, URL, and Description of the bug in Red Hat’s Bugzilla. CVSSCVSSv2 score and metrics. The 'status' attribute may have a value of 'draft' or 'verified', indicating how far along the investigation of the flaw has progressed. See this document for more information. CVSS3CVSSv3 score and metrics. The 'status' attribute may have a value of 'draft' or 'verified', indicating how far along the investigation of the flaw has progressed. See this document for more information. CWEThe CWE chain for this flaw. See the mitre.org description and our list of possible cwe values. DetailsDetails about the flaw, possibly from Red Hat or Mitre. StatementA statement from Red Hat about the issue. ReferencesLinks to more information about the issue. AcknowledgementsPeople or organizations that are being recognized. MitigationA way to fix or reduce the problem without updated software. AffectedReleaseA released Erratum that fixes the flaw for a particular product. Contains product name and CPE, and Erratum link, type, and release date. Optionally also includes "Package" information that describes the name and version of the src.rpm that fixes the issue (will not exist if multiple src.rpms are in the same Erratum). PackageStateInformation about a package / product where no fix has been released yet. Contains product name and CPE, package (src.rpm) name, and fix state, which is one of ['Affected','Fix deferred','New','Not affected','Will not fix']. UpstreamFixThe version of the upstream project that fixes the flaw. - Sample query URLs
-
-
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-33980
-
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-33980.xml
-
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-33980.json
-
https://access.redhat.com/hydra/rest/securitydata/cve?after=2024-07-05
-
https://access.redhat.com/hydra/rest/securitydata/cve.json?after=2024-07-05
-
https://access.redhat.com/hydra/rest/securitydata/cve.xml?after=2024-07-05
-
https://access.redhat.com/hydra/rest/securitydata/cve.json?after=2024-07-05&before=2024-07-06
-
https://access.redhat.com/hydra/rest/securitydata/cve.json?created_days_ago=5
-
https://access.redhat.com/hydra/rest/securitydata/cve?isCompressed=false
-
https://access.redhat.com/hydra/rest/securitydata/cve.json?isCompressed=false