{"schemaVersion":1,"resourceType":"connector","slug":"cve","name":"CVE","catalog":"cve","description":"Look up CVE records, flag known-exploited CVEs, score exploit likelihood, find open-source package advisories, and compute CVSS v3.1 scores","language":"Go","categories":["security"],"repository":"https://github.com/Query-farm/vgi-cve","license":"MIT","generatedAt":"2026-12-01T18:22:16+00:00","runtime":{"engineVersion":"2.0.1","protocolVersion":"3.4"},"release":{"tag":"v0.6.0","publishedAt":"2026-11-25T18:12:51Z","url":"https://github.com/Query-farm/vgi-cve/releases/tag/v0.6.0"},"links":{"html":"https://query.farm/products/orchard/connectors/cve/","llms":"https://query.farm/products/orchard/connectors/cve/llms.txt","markdown":"https://query.farm/products/orchard/connectors/cve/index.md","json":"https://query.farm/products/orchard/api/v1/connectors/cve.json","objects":"https://query.farm/products/orchard/api/v1/connectors/cve/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=cve&q={query}"},"authentication":{"mode":"none_declared","guidance":"No service credentials are declared by this connector. Individual datasets, input files or deployments may have their own prerequisites.","interpretation":"Secret parameter required flags describe the upstream declaration; they do not override the service-level mode above. Keep secrets in environment variables or the deployment secret store. SQL values in angle brackets are placeholders, not automatic environment lookups. Native DuckDB and Haybarn 2.0.1 do not provide a SQL getenv() function, even when worker-supplied snippets mention it. Read environment variables in your application and pass credential values through client parameter bindings (for example, Python con.execute(\"CREATE SECRET stripe (TYPE stripe, api_key ?)\", [os.environ[\"STRIPE_API_KEY\"]]) after attaching the connector. Omit unused optional parameters and keep real values out of saved SQL and logs.","secrets":[]},"deployment":{"local":{"methods":[{"id":"github","label":"From GitHub","icon":"simple-icons:github","steps":[{"title":"Attach the release directly","description":"Downloads the latest release for your platform and caches it locally.","lang":"sql","code":"ATTACH 'cve' AS cve (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-cve'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'cve' AS cve (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-cve:0.6.0'\n);"}]}],"pinnedMethods":[{"id":"github","label":"From GitHub","icon":"simple-icons:github","steps":[{"title":"Attach the release directly","description":"Uses the verified release each time you attach the connector.","lang":"sql","code":"ATTACH 'cve' AS cve (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-cve@v0.6.0'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'cve' AS cve (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-cve:0.6.0'\n);"}]}]},"selfHost":{"instructions":"https://github.com/Query-farm/vgi-cve","connectionGuide":"https://query.farm/vgi/connect-to-a-worker/","guidance":"Deploy using the connector repository instructions and use its supported HTTP or SSH transport. Replace example URLs with your actual deployment; configure its authentication."},"queryFarm":{"available":true,"console":"https://auth.queryfarm.cloud/console/new?worker=cve","organizationMonthlyMinimumUsd":10,"pricing":"https://query.farm/products/orchard/hosted/"},"publicDemo":null},"setup":{"extensions":{"duckdb":"SET allow_extension_repositories = 'allowed';\n\nCREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm\n    WITH PREFIX 'https://duckdb-extensions.query.farm';\n\nINSTALL vgi FROM query_farm;\nLOAD vgi FROM query_farm;","haybarn":"INSTALL vgi FROM community;\nLOAD vgi;"},"attachSql":"ATTACH 'cve' AS cve (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-cve'\n);","attachOptions":[],"note":"Install and load VGI, attach the connector using the catalog alias shown here, then create required secrets. Replace placeholders and omit unused optional secret parameters. Satisfy file, network and credential prerequisites before executing a query."},"example":{"title":"See what you can query","sql":"WITH inventory(asset, vector) AS (VALUES ('web-01', 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'), ('db-01', 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'), ('kiosk-01', 'CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N'), ('app-02', 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H')), scored AS (SELECT asset, cve.main.cvss_base_score(vector) AS base_score FROM inventory) SELECT b.severity, count(s.asset) AS assets, string_agg(s.asset, ', ' ORDER BY s.asset) AS asset_list FROM cve.main.cvss_severity_bands b LEFT JOIN scored s ON s.base_score BETWEEN b.min_score AND b.max_score GROUP BY b.severity, b.min_score ORDER BY b.min_score;","requiresCredentials":null,"note":null,"objects":[{"name":"cve.main.cvss_base_score","kind":"scalar_function","links":{"html":"https://query.farm/products/orchard/connectors/cve/#obj-main-cvss_base_score","markdown":"https://query.farm/products/orchard/connectors/cve/objects/scalar_function.bWFpbg.Y3Zzc19iYXNlX3Njb3Jl.md","json":"https://query.farm/products/orchard/api/v1/connectors/cve/objects/scalar_function.bWFpbg.Y3Zzc19iYXNlX3Njb3Jl.json"}},{"name":"cve.main.cvss_severity_bands","kind":"table","links":{"html":"https://query.farm/products/orchard/connectors/cve/#obj-main-cvss_severity_bands","markdown":"https://query.farm/products/orchard/connectors/cve/objects/table.bWFpbg.Y3Zzc19zZXZlcml0eV9iYW5kcw.md","json":"https://query.farm/products/orchard/api/v1/connectors/cve/objects/table.bWFpbg.Y3Zzc19zZXZlcml0eV9iYW5kcw.json"}}],"evidence":{"status":"captured_result","capturedAt":"2026-12-01T06:12:39+00:00","engineVersion":"2.0.1","protocolVersion":"3.4.0","releaseTag":"v0.6.0","sample":{"columns":["severity","assets","asset_list"],"types":["VARCHAR","BIGINT","VARCHAR"],"rows":[["NONE",0,null],["LOW",1,"kiosk-01"],["MEDIUM",0,null],["HIGH",1,"db-01"],["CRITICAL",2,"app-02, web-01"]],"more":false}},"artifact":null},"objects":{"total":11,"index":"https://query.farm/products/orchard/api/v1/connectors/cve/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=cve&q={query}"},"agentTasks":["Compute the CVSS v3.1 base score for the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Return one row with a single DOUBLE column holding the score.","Which qualitative CVSS severity band (NONE, LOW, MEDIUM, HIGH, or CRITICAL) does a CVSS base score of 9.8 fall into? Return one row with a single VARCHAR column holding the band name.","What qualitative CVSS severity band corresponds to a base score of 5.0? Return one row with a single VARCHAR column holding the band name.","For the CVSS v3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, return both its numeric base score and its qualitative severity band in a single row with exactly two columns, in this order: base_score (DOUBLE) and severity (VARCHAR).","Using the worker's reference table of CVSS severity bands, which qualitative band does a base score of 7.5 fall into? Return one row with a single VARCHAR column holding the band name.","Score these five CVSS v3.1 vectors with the worker and keep only those whose base score falls in the HIGH severity band: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N. Return exactly two columns, vector (VARCHAR) and base_score (DOUBLE), one row per HIGH vector.","Look up the CVE record for CVE-2021-44228 (Log4Shell) and report its CVSS base score and qualitative severity.","Keyword-search the NVD for CVEs mentioning log4j and confirm the Log4Shell advisory CVE-2021-44228 is among the matches."],"provenance":{"generatedAt":"2026-12-01T18:22:16+00:00","repository":"https://github.com/Query-farm/vgi-cve","harvest":{"status":"ok","method":"github-auto","error":null,"vgi_version":"9773130dde"},"catalogVerification":{"verified":true,"status":"passed","total":4,"passed":4,"failed":0,"needs_credentials":0,"location":"github-auto://Query-farm/vgi-cve@v0.6.0","transport":"github-auto","environment":{"vgi_extension_version":"9773130dde","haybarn_version":"2.0.1rc3","engine_version":"v2.0.1","python":"3.12.4","platform":"darwin_arm64","protocol_version":"3.4.0"},"checked_at":"2026-12-01T06:11:29+00:00"},"interpretation":"Catalog verification records the harvest environment. It is not proof that every query or current live API call succeeds. Only an example with captured_result has a saved result for that exact SQL."},"interpretation":["Missing, null, or undeclared metadata means unknown; do not invent defaults, credential scope, platform support or endpoint URLs.","Search is keyword retrieval, not proof of a capability. Read the exact object declaration before generating SQL.","A table and a table function can have the same name. Preserve parentheses and use the matching overload and schema.","Service credentials, external data availability and deployment authentication are separate requirements."]}