CWE-295: Improper Certificate Validation, published in 2021, page 3
Filter
The product does not validate, or incorrectly validates, a certificate.
What the weakness is: CWE-295 at MITRE. OWASP Top 10: A07:2025 Authentication Failures. All weaknesses
Related attack patterns (CAPEC): 2
- CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
- CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-295, as MITRE names them. Credits.
Ask an AI about CWE-295
Show the prompt
Explain CWE-295: Improper Certificate Validation and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/295.html and https://cve.bz/cve/cwe/295?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 9.8CVE-2021-3406EPSS 0.7%
A flaw was found in keylime 5.8.1 and older. The issue in the Keylime agent and registrar code invalidates the cryptographic chain of trust from the Endorsement Key certificate to agent attestations.
- 6.8CVE-2021-20328EPSS 0.4%
Specific versions of the Java driver that support client-side field level encryption (CSFLE) fail to perform correct host name verification on the KMS server’s certificate. This vulnerability in combination with a privileged network positi…
- 6.8CVE-2021-20327mongodb client encryptionEPSS 0.2%
A specific version of the Node.js mongodb-client-encryption module does not perform correct validation of the KMS server’s certificate. This vulnerability in combination with a privileged network position active MITM attack could result in…
- 7.5CVE-2021-20230stunnelEPSS 1.2%
A flaw was found in stunnel before 5.57, where it improperly validates client certificates when it is configured to use both redirect and verifyChain options. This flaw allows an attacker with a certificate signed by a Certificate Authorit…
- 5.9CVE-2021-27189cira canadian shieldEPSS 1.1%
The CIRA Canadian Shield app before 4.0.13 for iOS lacks SSL Certificate Validation.
- 5.9CVE-2020-24393tweetstream project tweetstreamEPSS 0.9%
TweetStream 2.6.1 uses the library eventmachine in an insecure way that does not have TLS hostname validation. This allows an attacker to perform a man-in-the-middle attack.
- 5.9CVE-2020-24392twitter-stream project twitter-streamEPSS 0.9%
In voloko twitter-stream 0.1.10, missing TLS hostname validation allows an attacker to perform a man-in-the-middle attack against users of the library (because eventmachine is misused).
- 7.4CVE-2021-26911EPSS 1.1%
core/imap/MCIMAPSession.cpp in Canary Mail before 3.22 has Missing SSL Certificate Validation for IMAP in STARTTLS mode.
- 4.4CVE-2020-29457opcfoundation ua-.netstandardEPSS 0.3%
A Privilege Elevation vulnerability in OPC UA .NET Standard Stack 1.4.363.107 could allow a rogue application to establish a secure connection.
- 4.8CVE-2021-20649elecom wrc-300febk-s firmwareEPSS 0.3%
ELECOM WRC-300FEBK-S contains an improper certificate validation vulnerability. Via a man-in-the-middle attack, an attacker may alter the communication response. As a result, an arbitrary OS command may be executed on the affected device.
- 7.5CVE-2021-0341google androidEPSS 0.9%
In verifyHostName of OkHostnameVerifier.java, there is a possible way to accept a certificate for the wrong domain due to improperly used crypto. This could lead to remote information disclosure with no additional execution privileges need…
- 5.3CVE-2020-4791ibm security identity governance and intelligenceEPSS 0.3%
IBM Security Identity Governance and Intelligence 5.2.6 could allow an attacker to obtain sensitive information using main in the middle attacks due to improper certificate validation. IBM X-Force ID: 189379.
- 5.9CVE-2020-5812tenable nessus amazon machine imageEPSS 0.5%
Nessus AMI versions 8.12.0 and earlier were found to either not validate, or incorrectly validate, a certificate which could allow an attacker to spoof a trusted entity by using a man-in-the-middle (MITM) attack.
- 3.5CVE-2021-1354cisco unified computing system central softwareEPSS 0.4%
A vulnerability in the certificate registration process of Cisco Unified Computing System (UCS) Central Software could allow an authenticated, adjacent attacker to register a rogue Cisco Unified Computing System Manager (UCSM). This vulner…
- 8.1CVE-2021-3336wolfsslEPSS 0.8%
DoTls13CertificateVerify in tls13.c in wolfSSL before 4.7.0 does not cease processing for certain anomalous peer behavior (sending an ED22519, ED448, ECC, or RSA signature without the corresponding certificate). The client side is affected…
- 8.1CVE-2021-3309wekan project wekanEPSS 1.7%
packages/wekan-ldap/server/ldap.js in Wekan before 4.87 can process connections even though they are not authorized by the Certification Authority trust store,
- 5.3CVE-2021-3285ti code composer studio intgrated development environmentEPSS 1.1%
jxbrowser in TI Code Composer Studio IDE 8.x through 10.x before 10.1.1 does not verify X.509 certificates for HTTPS.
- 6.5CVE-2021-1277cisco data center network managerEPSS 0.4%
Multiple vulnerabilities in Cisco Data Center Network Manager (DCNM) could allow an attacker to spoof a trusted host or construct a man-in-the-middle attack to extract sensitive information or alter certain API requests. These vulnerabilit…
- 6.5CVE-2021-1276cisco data center network managerEPSS 0.4%
Multiple vulnerabilities in Cisco Data Center Network Manager (DCNM) could allow an attacker to spoof a trusted host or construct a man-in-the-middle attack to extract sensitive information or alter certain API requests. These vulnerabilit…
- 7.8CVE-2021-3162dockerEPSS 0.2%
Docker Desktop Community before 2.5.0.0 on macOS mishandles certificate checking, leading to local privilege escalation.
- 7.5CVE-2020-35733EPSS 1.2%
An issue was discovered in Erlang/OTP before 23.2.2. The ssl application 10.2 accepts and trusts an invalid X.509 certificate chain to a trusted root Certification Authority.
- 5.3CVE-2020-24025sass-lang node-sassEPSS 0.8%
Certificate validation in node-sass 2.0.0 to 4.14.1 is disabled when requesting binaries even if the user is not specifying an alternative download path.
- 5.4CVE-2020-25680redhat jboss core services httpdEPSS 0.3%
A flaw was found in JBCS httpd in version 2.4.37 SP3, where it uses a back-end worker SSL certificate with the keystore file's ID is 'unknown'. The validation of the certificate whether CN and hostname are matching stopped working and allo…