-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.1269
        CVE-2021-3035 Bridgecrew Checkov: Unsafe deserialization of
                   Terraform files allows code execution
                               15 April 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Bridgecrew Checkov
Publisher:         Palo Alto
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-3035  

Original Bulletin: 
   https://security.paloaltonetworks.com/CVE-2021-3035

Comment: This advisory references vulnerabilities in products which run on 
         different platforms. It is recommended that 
         administrators running Bridgecrew Checkov check for an updated 
         version of the software for their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

Palo Alto Networks Security Advisories / CVE-2021-3035

CVE-2021-3035 Bridgecrew Checkov: Unsafe deserialization of Terraform files
allows code execution

047910
Severity 6.7 . MEDIUM
Attack Vector NETWORK
Attack Complexity LOW
Privileges Required HIGH
User Interaction NONE
Scope UNCHANGED
Confidentiality Impact HIGH
Integrity Impact HIGH
Availability Impact LOW
NVD JSON     
Published 2021-04-14
Updated 2021-04-14
Reference
Discovered externally

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.

Product Status

       Versions        Affected Unaffected
Bridgecrew Checkov 2.0 < 2.0.26 >= 2.0.26
Bridgecrew Checkov 1.0 None     all

Severity: MEDIUM

CVSSv3.1 Base Score: 6.7 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L)

Exploitation Status

Palo Alto Networks is not aware of any malicious exploitation of this issue.

Weakness Type

CWE-502 Deserialization of Untrusted Data

Solution

This issue is fixed in Checkov 2.0.26 and all later releases.

Workarounds and Mitigations

Do not run Checkov on terraform files from untrusted sources or pull requests.

Acknowledgments

Palo Alto Networks thanks Kevin Higgs of Trail of Bits for discovering and
reporting this issue.

Timeline

2021-04-14 Initial publication
Terms of usePrivacyProduct Security Assurance and Vulnerability Disclosure
Policy Report vulnerabilitiesManage subscriptions
(C) 2020 Palo Alto Networks, Inc. All rights reserved.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYHew5+NLKJtyKPYoAQjOqRAAiZjR8J8Af8UYviQSxq6NU2u/792+lRmp
IthwlcgjlE+HX4/zfqrFpKwb069TSh7zfFKpu4Qv+JVdCEVWuIrsYWiCnZu80Z98
pSm31+YzFUMQXTMX0rRTA0Zn5ODs0ixaNbKV48cnNNs0IQxtqqNa8PanDWY3CaMd
VBRpxbo23U4WIPpjuCea+9APin2kV4tvB/0evQX79/I3cwxAwtQg+u2JJVukJBaT
/oj5RUKavnesZO/akY0Wem0m1wgSqf4SxhIZNvbTfXuihJo1gcrZpx6MzxEmtoie
xeyXfZfoiuDCYdmbgmHLbUGxDbpnKyozfhqINdg1ZDEke09t9Rp9nNldM8uh6gqA
aTfp2bzYFDkJE9DoKImeKxD1//KgDrD8fgdHTEzYeiY0Z2uvkszVsydgQLWYSd+z
1tJ6mFU5x7yEUwX5MgV2nxn9HOGwLoSSetj3nDLTnDGdhLqcFwV7W6f5KnGLpmZI
Aq0qCC8Tog7zSo1Uo016HxU15+kEtG1CI1OwzsrEfjtNecb+GBtMyOjjsJu6aAJ7
kZB9/qWjJtimEjqW0kMqhXL3AJequsOtSmK7tm4l0zpmKolK4aJLvtWZgUGQnClQ
7t+tMkewvRi2jMOqNiqKziGN9hH0LpylX10jWXQVcmtPc4UodI4lIGLBDW/iZ9AG
IvdvBt/p0cI=
=bTJY
-----END PGP SIGNATURE-----