CVE-API : Unofficial API for CVE.MITRE.ORG

CVE Api is a parse & filter the latest CVEs from cve.mitre.org.

Usage

http://localhost:4000/cve?target=KEYWORD

The year parameter is optional.

http://localhost:4000/cve?target=KEYWORD&year=YEAR

Examples

http://localhost:4000/cve?target=ruby%20on%20rails

http://localhost:4000/cve?target=ruby%20on%20rails&year=2020

If you want to parse the latest year, use the “latest” keyword.
http://localhost:4000/cve?target=ruby%20on%20rails&year=latest

Also Read – Fuzzowski : The Network Protocol Fuzzer

Getting Started

  • Download the project
  • bundle install
  • ruby rest.rb

Requirements

  • Ruby
  • Docker (Optional, only required if you want to run through a container.)

Environment

  • You can switch between prod & dev at config/environment.rb
  • You need to create one yourself, an example can be found here.

Healthcheck

  • The url will return a status code of 200 which means the api is healthy.
  • If 200 is not shown then you should assume there is something wrong.
  • http://localhost:4000/status

Manage Image

Access

Build Image

docker build . -t cve-api

Run Image

docker run -p 4000:4000 -d cve-api

Get id

docker ps

Stop image

docker stop ID

Remove image

docker rmi cve-api

R K

Recent Posts

How Web Application Firewalls (WAFs) Work

General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…

2 weeks ago

How to Send POST Requests Using curl in Linux

How to Send POST Requests Using curl in Linux If you work with APIs, servers,…

2 weeks ago

What Does chmod 777 Mean in Linux

If you are a Linux user, you have probably seen commands like chmod 777 while…

2 weeks ago

How to Undo and Redo in Vim or Vi

Vim and Vi are among the most powerful text editors in the Linux world. They…

2 weeks ago

How to Unzip and Extract Files in Linux

Working with compressed files is a common task for any Linux user. Whether you are…

2 weeks ago

Free Email Lookup Tools and Reverse Email Search Resources

In the digital era, an email address can reveal much more than just a contact…

2 weeks ago