title: Bridgecrew Checkov: Unsafe deserialization of Terraform files allows code execution
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.
problem types: CWE-502 Deserialization of Untrusted Data
affected:
{
product: Bridgecrew Checkov
vendor: Palo Alto Networks
versions:
status: unaffected, version: 1.0 all
changes: [at: 2.0.139, status: unaffected], lessThan: 2.0.139, status: affected, version: 2.0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 6.7
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
version: 3.1
]
exploits: Palo Alto Networks is not aware of any malicious exploitation of this issue.
solutions: This issue is fixed in Checkov 2.0.139 and all later versions.
workarounds: Do not run Checkov on terraform files from untrusted sources or pull requests.