Skip to main content

Contrast CVE Shield

Contrast CVE Shield defends your applications against specific, known CVEs at runtime. Rather than detecting attack patterns, CVE Shield creates a precise containment boundary around the vulnerable code in a library.

If an attacker successfully triggers the vulnerability, CVE Shield blocks the exploit from reaching dangerous capabilities, such as starting a process, opening a network connection, or writing to the file system, while letting the library's normal, legitimate behavior continue unaffected.

CVE Shield is useful for the gap between a CVE being published and your team patching it. Instead of waiting on a patch cycle, CVE Shield gives you an immediate, evidence-based control: you can see whether a given CVE is being monitored or actively blocked in each of your environments.

Contrast creates a CVE Shield for a publicly disclosed vulnerability when the affected library is used. The shield lets Contrast agents tell whether an application contains the vulnerability and block attacks against it.

Minimum supported agents

Contrast agents are released in monitor mode initially, followed by a later block mode release.

  • Monitor mode: The agent watches the vulnerable code in your application. It reports when your application uses a library with a known CVE and when the vulnerable code is reached. An agent that only supports monitoring does not block attacks.

  • Block mode: Where possible, Contrast uses the data from the monitor phase to create a blocking policy. A blocking policy stops attacks on the vulnerable code without disrupting normal application behavior. Agents that support blocking can enforce these policies. CVE Shield blocking is available to Enterprise customers.

The following table lists the minimum agent versions that supports monitoring only and blocking:

Agent

Monitoring mode supported only

Blocking mode supported

Java

6.29.0+

6.33.1+

Node.js

5.66+

5.68.0+

Python

11.7.0+

12.0.0+

.NET

60.4.0+

Future release

Go

Future release

Future release

PHP

Future release

Future release

Support for the Go and PHP agents will be available in a future release.

How a CVE Shield is created

Every shield follows the same creation workflow, from the moment a vulnerability becomes public to the moment protection reaches your applications.

  1. CVE is published. A vulnerability becomes public through a GitHub Security Advisory (GHSA). Contrast collects the details it needs from the advisory, including the affected library, the version, the language, and the CVE IDs.

  2. Library analysis. Contrast performs an in-depth analysis of the affected library to identify the vulnerable locations or methods that the CVE covers.

  3. Shield and agent. Contrast creates the shield. The shield works in monitoring mode on the vulnerable code locations to determine whether the CVE is exposed, meaning whether the vulnerable code is reached.

  4. Research review. When a CVE is found to be exposed, Contrast reviews it. Security researchers create safe blocking policies so that attacks can be stopped without disrupting legitimate application behavior. Agents in blocking mode can enforce these policies.

  5. Policy auto-update. Policies update automatically. By default, Contrast agents poll for the latest policies every five minutes, so new shields and blocking policies reach your applications without manual updates.

Note

Steps 1 through 3 are performed automatically and require no manual analysis to provide reachability information for CVEs, typically within an hour of CVE publication. Contrast aims to complete all five steps within 24 hours of publication for notable or high-profile CVEs, and within one week for all other CVEs. These timelines depend on Contrast receiving complete disclosure data from GHSA.

Not every published CVE receives a shield. Priority is given to vulnerabilities that appear in customer applications. To see which CVEs in your application inventory have CVE Shield coverage today, and which don’t, see View your CVE Shields in Explorer.

Enterprise support

Enterprise customers can use CVE Shield to monitor, block, or turn off monitoring per environment, as well as create incidents for exploited attacks. To use blocking, Enterprise customers can upgrade agents to at least the version in the Blocking column in the table above.

Free limitations

New to Contrast? See Try Contrast for free to sign up and install an agent to see your first vulnerabilities. Learn what's included in the free tier.

Free-tier organizations can use CVE Shield to monitor or turn off monitoring, but can't block attacks, and don’t have access to incidents.

The free tier includes runtime CVE-related data only. Assess-generated vulnerability findings (e.g., SQL injection, custom-code data-flow vulnerabilities) require a paid tier. If you are looking to evaluate Assess/ADR, contact Contrast Security Sales at +1 888 371 1333.

Set and customize protection levels

Policy updates from Contrast arrive automatically, so you decide how each CVE is handled and Contrast keeps the shields themselves current. Under Policies > CVE Shield, you can:

Protection that does not wait for a shield

A CVE Shield is one layer of protection. Assess and ADR discover vulnerabilities, monitor for attacks, and block them without waiting for a CVE to be published. Both cover past and future CVEs across entire categories of vulnerabilities and exploits, which gives you continuous zero-day defense even before a shield exists. Assess and ADR require a paid tier, so see Free limitations for details.