Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-40530

5.9 · MEDIUM
Published Sep 6, 2021 cryptopp CWE-327 EPSS 1.16% (65th pctl)

Overview

CVE-2021-40530 is a medium-severity vulnerability affecting cryptopp crypto\+\+. It was published on September 6, 2021 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

The ElGamal implementation in Crypto++ through 8.5 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.

Remediation

Check the references section for vendor advisories and patches from cryptopp. Update crypto\+\+ to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
cryptopp crypto\+\+ 0 Affected

Frequently Asked Questions

What is CVE-2021-40530?

CVE-2021-40530 is a medium-severity vulnerability affecting cryptopp crypto\+\+. It was published on September 6, 2021 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

How severe is CVE-2021-40530?

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-40530?

Check the references section for vendor advisories and patches from cryptopp. Update crypto\+\+ to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-40530?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-40530 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.