Skip to main content

apiverve_cvelookup 1.2.7 copy "apiverve_cvelookup: ^1.2.7" to clipboard
apiverve_cvelookup: ^1.2.7 copied to clipboard

CVE Lookup returns a vulnerability by its CVE id: description, status, dates, severity, CVSS score, CWE weaknesses and whether it is known to be exploited (CISA KEV). Search by product or vendor, filt [...]

CVE Lookup API - Dart/Flutter Client #

CVE Lookup returns a vulnerability by its CVE id: description, status, dates, severity, CVSS score, CWE weaknesses and whether it is known to be exploited (CISA KEV). Search by product or vendor, filtered by severity or year. Paid plans add every CVSS vector (4.0, 3.1, 3.0, 2.0), affected products with version ranges, references, KEV due dates and ransomware use, and the EPSS exploit probability. Data is refreshed weekly, so a CVE can be up to a week behind NVD.

pub package License: MIT

This is the Dart/Flutter client for the CVE Lookup API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_cvelookup: ^1.2.7

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_cvelookup/apiverve_cvelookup.dart';

void main() async {
  final client = CvelookupClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'cve': 'CVE-2021-44228',
      'product': 'log4j',
      'vendor': 'apache',
      'severity': 'critical',
      'year': 2024,
      'exploited': true,
      'limit': 10,
      'page': 1
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "cveId": "CVE-2021-44228",
    "status": "Analyzed",
    "published": "2021-12-10T10:15:09",
    "lastModified": "2026-08-11T19:33:44",
    "description": "Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.",
    "severity": "critical",
    "cvssScore": 10,
    "cvssVersion": "3.1",
    "cwes": [
      "CWE-20",
      "CWE-400",
      "CWE-502",
      "CWE-917"
    ],
    "exploited": true,
    "cvss": {
      "v31": {
        "score": 10,
        "severity": "critical",
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
        "source": "nvd",
        "exploitabilityScore": 3.9,
        "impactScore": 6
      },
      "v2": {
        "score": 9.3,
        "severity": "high",
        "vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
        "source": "nvd",
        "exploitabilityScore": 8.6,
        "impactScore": 10
      }
    },
    "kev": {
      "name": "Apache Log4j2 Remote Code Execution Vulnerability",
      "dateAdded": "2021-12-10",
      "dueDate": "2021-12-24",
      "requiredAction": "For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks. Temporary mitigations using one of the measures provided at https://www.cisa.gov/uscert/ed-22-02-apache-log4j-recommended-mitigation-measures are only acceptable until updates are available.",
      "knownRansomwareUse": true
    },
    "epss": {
      "score": 0.99999,
      "percentile": 1,
      "date": "2026-11-28"
    },
    "products": [
      {
        "vendor": "apache",
        "product": "log4j",
        "type": "application",
        "versions": [
          {
            "startIncluding": "2.0.1",
            "endExcluding": "2.3.1"
          },
          {
            "startIncluding": "2.4.0",
            "endExcluding": "2.12.2"
          },
          {
            "startIncluding": "2.13.0",
            "endExcluding": "2.15.0"
          },
          {
            "version": "2.0",
            "update": "beta9"
          }
        ]
      },
      {
        "vendor": "siemens",
        "product": "6bk1602-0aa12-0tp0_firmware",
        "type": "os",
        "versions": [
          {
            "endExcluding": "2.7.0"
          }
        ]
      }
    ],
    "productCount": 143,
    "affected": [
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Log4j2",
        "versions": [
          {
            "version": "2.0-beta9",
            "lessThan": "log4j-core*"
          }
        ]
      }
    ],
    "references": [
      {
        "url": "http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html",
        "tags": [
          "Third Party Advisory",
          "VDB Entry"
        ]
      },
      {
        "url": "http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html",
        "tags": [
          "Third Party Advisory",
          "VDB Entry"
        ]
      },
      {
        "url": "http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html",
        "tags": [
          "Exploit",
          "Third Party Advisory",
          "VDB Entry"
        ]
      }
    ],
    "referenceCount": 103,
    "assigner": "security@apache.org",
    "dataAsOf": {
      "nvd": "2026-11-28",
      "kev": "2026-11-27",
      "epss": "2026-11-28"
    }
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
120
points
58
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

CVE Lookup returns a vulnerability by its CVE id: description, status, dates, severity, CVSS score, CWE weaknesses and whether it is known to be exploited (CISA KEV). Search by product or vendor, filtered by severity or year. Paid plans add every CVSS vector (4.0, 3.1, 3.0, 2.0), affected products with version ranges, references, KEV due dates and ransomware use, and the EPSS exploit probability. Data is refreshed weekly, so a CVE can be up to a week behind NVD.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_cvelookup