CVE-2021-3040

Bridgecrew Checkov: Unsafe deserialization of Terraform files allows code execution

6.7 medium EPSS 1.30%

Published 10 Jun 2021 Updated 16 Sep 2024 CNA: palo_alto

Description

An unsafe deserialization vulnerability in Bridgecrew Checkov by Prisma Cloud allows arbitrary code execution when processing a malicious terraform file. This issue impacts Checkov 2.0 versions earlier than Checkov 2.0.139. Checkov 1.0 versions are not impacted.

Severity (CVSS)

6.7 medium CVSS 3.1 from palo_alto (CNA)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 71.1% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-502 Deserialization of Untrusted Data

Affected products

As the CNA lists them.

ProductVersions
Bridgecrew Checkov
unaffected 1.0 all
affected from 2.0, before 2.0.139 (unaffected from 2.0.139)

Is my server affected?

This CVE is in Bridgecrew Checkov of Palo Alto Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-3040 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.