LIVE · cybersecurity feed
Live wire
aimedium

From vulnerability report to CVE draft in minutes: how Elastic automated security advisories with AI

Elastic's InfoSec Product Security Team has developed an AI agent capable of generating comprehensive CVE security advisories. This agent utilizes generative AI and Retrieval-Augmented Generation (RAG) against MITRE's CWE and CAPEC databases, ensuring accurate classification and scoring. The process automates the drafting of advisories from raw vulnerability reports, significantly speeding up the disclosure phase.

zeroday.news · 39d ago

Elastic's InfoSec Product Security Team has developed a generative AI agent to automate the drafting of security advisories, significantly reducing the time required to process vulnerability reports. This new system leverages Retrieval-Augmented Generation (RAG) against MITRE's Common Weakness Enumeration (CWE) and Common Attack Pattern Enumeration and Classification (CAPEC) catalogs, which are indexed in Elasticsearch.

The manual process of creating security advisories is described as time-consuming, primarily due to the need to distill lengthy, technical vulnerability reports into concise, customer-friendly advisories. This process includes identifying the correct CWE and CAPEC classifications, which adds complexity and delays. Elastic follows a standard CVE description template: "[PROBLEMTYPE] in [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] on [PLATFORMS] allows [ATTACKER] to [IMPACT] via [VECTOR]." The PROBLEMTYPE is mapped to a CWE entry, and the VECTOR to a CAPEC entry.

To address the inefficiencies, the team built a custom agent using Elastic Agent Builder. A critical aspect of this development was preventing LLM "hallucinations," where models generate plausible but incorrect information, such as non-existent classification IDs. To achieve this, the Elastic Crawler was used to scrape data from the CWE and CAPEC websites. This data was then ingested into two Elasticsearch indices: `web-crawl-mitre-cwe-software` and `web-crawl-mitre-capec-software`.

The crawler configurations are designed to run on a continuous schedule, ensuring that the indexed data remains up-to-date with new entries published by MITRE. This automated updating process keeps the AI agent's grounding data fresh without manual intervention.

The CWE crawler configuration specifies seeding from the software weaknesses view on the MITRE website. It follows links matching the pattern `/data/definitions/` and extracts structured fields from each weakness page. These fields include descriptions, mitigations, consequences, and observed examples, all prepared for semantic search and RAG pipelines. The configuration details how to extract the full URL, the CWE ID, title, description, extended description, alternate terms, common consequences, potential mitigations, background details, modes of introduction, applicable platforms, likelihood of exploit, demonstrative examples, observed examples, taxonomy mappings, related attack patterns, and references.

Similarly, the CAPEC crawler configuration applies the same approach to the MITRE CAPEC catalog. It seeds from the software attack patterns view and extracts structured fields from each pattern page. These fields encompass attack descriptions, execution flow, prerequisites, required skills, and mitigations, all of which are indexed into Elasticsearch alongside the CWE data.

The output of this automated pipeline is demonstrated by ESA-2026-01, which has already gone through the system and is in production. This system aims to streamline the entire lifecycle of product vulnerability management, from discovery to disclosure, by automating the generation of standardized security advisories. The use of RAG ensures that the AI's output is grounded in authoritative data, preventing inaccurate classifications and improving the efficiency and consistency of Elastic's security advisories.

aicvevulnerability managementautomationelastic
ShareXLinkedInWhatsAppFacebook

More News

view all →
breach

Hermes AI agent used to automate attack on Thai Finance Ministry

A threat actor used the open-source Hermes AI agent in unattended "YOLO" mode to automate post-exploitation activity during an alleged breach of Thailand's Ministry of Finance. [...]

ai

Microsoft, tech companies throw weight behind spread of open-source AI

Other signatories of the letter include Meta, Palantir, Perplexity, Mistral, NVIDIA, Mozilla, The Linux Foundation, Hugging Face, Dell Technologies and IBM. The post Microsoft, tech companies throw weight behind spread of open-source AI appeared first on CyberScoop.

security

Hackers hijack hotel Wi-Fi DNS to steal Microsoft 365 accounts

Hackers are changing the DNS settings on Wi-Fi devices at hotels and conference centers to redirect users to fake Microsoft 365 login pages. [...]

security

BGP ORIGIN attribute manipulation and its impact on the Internet

By doing in-depth testing, we found nearly 70% of BGP paths experience ORIGIN attribute rewrites by transit providers seeking traffic advantages. We examine the global impact of this practice and argue for deprecating ORIGIN in route selection.

security

Andy Burnham signals continuity on UK cyber policy, reappoints minister despite scrapping ministry

The new British prime minister is retaining Liz Lloyd in a cyber policy role, making her one of the few Keir Starmer allies remaining in government.

security

'Wrench' attacks against crypto holders appear to be on the rise

There are more reports than ever before of strong-arm tactics like home invasions and kidnappings against cryptocurrency holders, researchers say.