×
Why CIS Solutions Join CIS Resources
CIS WorkBench Sign-in CIS WorkBench Sign In Cloud Security CIS Cloud Security Support CIS Support


Why CIS

Who We Are

CIS is an independent, nonprofit organization with a mission to create confidence in the connected world



About Us Leadership Principles Testimonials

Solutions

secure your organization
Secure Your Organization


secure specific platforms
Secure Specific Platforms


cis securesuite CIS SecureSuite®
u s state local tribal and territorial governments
U.S. State, Local, Tribal & Territorial Governments


View All Products & Services  

Join CIS

Get Involved

Join CIS as a member, partner, or volunteer - or explore our career opportunities



CIS SecureSuite® Membership Multi-State ISAC (MS-ISAC®) Elections Infrastructure ISAC (EI-ISAC®) CIS CyberMarket® Vendors CIS Communities Careers

Resources

resources
Secure Your Organization


learn
Learn


filter by topic
Filter by Topic


View All Resources  
CIS Logo Show Search Expand Menu

A Vulnerability in GnuPG Libgcrypt Could Allow for Arbitrary Code Execution

MS-ISAC ADVISORY NUMBER:

2021-016

DATE(S) ISSUED:

02/01/2021

OVERVIEW:

A vulnerability has been discovered in GNU Libgcrypt, which could allow for arbitrary code execution. Libgcrypt is a generic cryptographic library offered as part of GNU Privacy Guard (GnuPG) software suite to provide building blocks for carrying out cryptographic tasks such as encrypting and signing data and communications. It is shipped with most Linux distributions including Ubuntu and Fedora. Successful exploitation of this vulnerability could result in arbitrary code execution in the context of the affected application. Depending on the privileges associated with the application, an attacker could install programs; view, change, or delete data; or create new accounts with full user rights. Failed exploitation could result in a denial-of-service condition.

THREAT INTELLIGENCE:

There are currently no reports of this vulnerability being exploited in the wild.

SYSTEMS AFFECTED:

  • GnuPG Libgcrypt 1.9.0

RISK:

Government:
  • Large and medium government entities: HIGH
  • Small government entities: MEDIUM
Businesses:
  • Large and medium business entities: HIGH
  • Small business entities: MEDIUM
Home Users:
LOW

TECHNICAL SUMMARY:

A vulnerability has been discovered in GNU Libgcrypt, which could allow for arbitrary code execution. This vulnerability is a heap buffer overflow, which occurs due to a wrong assumption in the block buffer management code. To trigger the bug, an attacker can send the Libgcrypt library a block of booby-trapped data to decrypt. Once decrypted, the application would execute the malicious shellcode. No verification or signature is validated to prevent the running of unexpected or malicious instructions in decrypted data.

Successful exploitation of this vulnerability could result in arbitrary code execution in the context of the affected application. Depending on the privileges associated with the application, an attacker could install programs; view, change, or delete data; or create new accounts with full user rights. Failed exploitation could result in a denial-of-service condition.

RECOMMENDATIONS:

We recommend the following actions be taken:

  • Apply patched version of libgcrypt to vulnerable systems immediately after appropriate testing.
  • Run all software as non-privileged user to diminish effects of successful attack.
  • Verify no unauthorized system modifications have occurred on the system before applying the patch.
  • Apply the Principle of Least Privilege to all systems and services.

REFERENCES:

Information Hub : Advisories


CONTROL: 1 --- ADVISORY CONTROL: 0
CONTROL: 2 --- ADVISORY CONTROL: 0
CONTROL: 3 --- ADVISORY CONTROL: 0
CONTROL: 4 --- ADVISORY CONTROL: 0