Check Point Advisories

Git Source Code Management Code Execution (CVE-2021-21300)

Check Point Reference: CPAI-2021-1343
Date Published: 9 Nov 2022
Severity: High
Last Updated: Wednesday 09 November, 2022
Source:
Industry Reference:CVE-2021-21300
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable? Git Git 2.14.2 and after prior to 2.30.2
Vulnerability Description An improper link resolution exists in the checkout mechanism of Git Source Code Management (git-scm) by Git. An out-of-order checkout triggered by a delayed checkout or checkout-index may result in an improper validation of a file resource type prior to performing a file write operation. A remote attacker can exploit this vulnerability by enticing a user to clone a malicious repository.

Protection Overview

This protection detects attempts to exploit this vulnerability.

In order for the protection to be activated, update your Security Gateway product to the latest IPS update. For information on how to update IPS, go to SBP-2006-05, click on Protection tab and select the version of your choice.

Security Gateway R81 / R80 / R77 / R75

  1. In the IPS tab, click Protections and find the Git Source Code Management Code Execution (CVE-2021-21300) protection using the Search tool and Edit the protection's settings.
  2. Install policy on all Security Gateways.

This protection's log will contain the following information:

Attack Name:  Web Client Enforcement Violation.
Attack Information:  Git Source Code Management Code Execution (CVE-2021-21300)

×
  Feedback
This website uses cookies for its functionality and for analytics and marketing purposes. By continuing to use this website, you agree to the use of cookies. For more information, please read our Cookies Notice.
OK