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

The Growing Role of Digital Libraries in Remote Education

Learning Without Walls Remote education has long been a lifeline for students in rural areas…

4 hours ago

How Do I Do Reverse Image Search

Have you ever come across a picture on the internet and wondered where it came…

18 hours ago

WhatsMyName App – Find Anyone Across 640+ Platforms

Overview WhatsMyName is a free, community-driven OSINT tool designed to identify where a username exists…

2 weeks ago

Analyzing Directory Size Linux Tools Explained

Managing disk usage is a crucial task for Linux users and administrators alike. Understanding which…

2 weeks ago

Understanding Disk Usage with du Command

Efficient disk space management is vital in Linux, especially for system administrators who manage servers…

2 weeks ago

How to Check Directory Size in Linux

Knowing how to check directory sizes in Linux is essential for managing disk space and…

2 weeks ago