CVE-2021-3035 Bridgecrew Checkov: Unsafe deserialization of Terraform files allows code execution
Attackers can execute arbitrary code by providing malicious Terraform files to the Checkov security scanner.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3035?
CVE-2021-3035 is a medium-severity unsafe deserialization vulnerability in Palo Alto Networks Bridgecrew Checkov, published on 20 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.26. Checkov 1.0 versions are not impacted.
Weakness: CWE-502
Which versions are affected by CVE-2021-3035?
1 open source package ship an affected version, including checkov. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
checkov Bitnami | From 2.0.0 | 2.0.26 |
Products include Paloaltonetworks Bridgecrew Checkov.
How do I fix CVE-2021-3035?
Upgrade checkov to 2.0.26 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-3035 being exploited?
There is no known exploitation of CVE-2021-3035 in the wild and no public exploit code.
Other vulnerabilities in Palo Alto Networks Bridgecrew Checkov
Sources
Also known as BIT-checkov-2021-3035, GHSA-8cpg-gfv8-mrmw.