# CVE and package advisory lookup

**Use case:** 

Map CVE IDs and affected package names to GitHub Security Advisories with patched-version, severity, CVSS, EPSS, CWE, reference, and timestamp data.

## Input

```json
{
  "collectFeed": true,
  "cveIds": [
    "CVE-2021-44228"
  ],
  "affectedPackages": [
    "org.apache.logging.log4j:log4j-core"
  ],
  "ecosystems": [
    "maven"
  ],
  "severities": [
    "critical",
    "high"
  ],
  "publishedFrom": "2026-01-01",
  "withdrawnOnly": false,
  "sortBy": "published",
  "sortDirection": "desc",
  "maxItems": 10
}
```

## Output

```json
{
  "ghsaId": {
    "label": "GHSA ID",
    "format": "string"
  },
  "cveIds": {
    "label": "CVE IDs",
    "format": "array"
  },
  "summary": {
    "label": "Summary",
    "format": "string"
  },
  "classification": {
    "label": "Classification",
    "format": "string"
  },
  "severity": {
    "label": "Severity",
    "format": "string"
  },
  "cvss": {
    "label": "CVSS",
    "format": "object"
  },
  "epss": {
    "label": "EPSS",
    "format": "object"
  },
  "cwes": {
    "label": "CWEs",
    "format": "array"
  },
  "affectedPackages": {
    "label": "Affected packages",
    "format": "array"
  },
  "references": {
    "label": "References",
    "format": "array"
  },
  "sourceCodeLocation": {
    "label": "Source code location",
    "format": "string"
  },
  "repositoryAdvisoryUrl": {
    "label": "Repository advisory URL",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published at",
    "format": "string"
  },
  "updatedAt": {
    "label": "Updated at",
    "format": "string"
  },
  "withdrawnAt": {
    "label": "Withdrawn at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [GitHub Security Advisories Scraper](https://apify.com/maximedupre/github-security-advisories-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/github-security-advisories-scraper) to learn more, explore other use cases, and run it yourself.