Skip to content
OpenAdvisories

Weakness (CWE)

CWE-295: Improper Certificate Validation

Base Draft

The product does not validate, or incorrectly validates, a certificate.

How to prevent it (2 mitigations)
  1. Architecture and Design, Implementation

    Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.

  2. Implementation

    If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

Source: MITRE CWE-295

480 results · Clear filters · Feed

  • High 8.7

    ex_aws_sns SigningCertURL not validated in verify_message/1

    Improper Certificate Validation vulnerability in ex-aws ex_aws_sns (ExAws.SNS, ExAws.SNS.PublicKeyCache modules) allows Signature Spoofing by Improper Validation. This vulnerability is associated with program files lib/ex_aws/sns.ex, lib/ex_aws/sns/public_key…

  • High 7.6

    nameConstraints DNS bypass via subject CommonName fallback in public_key hostname verification

    Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_cert and public_key modules) allows a DNS nameConstraints bypass via subject CommonName fallback in TLS hostname verification. Two flaws combine to allow a subordinate CA whose DNS…

  • High 7.0

    Non-CA certificate accepted as intermediate issuer in public_key path validation

    Improper Following of a Certificate's Chain of Trust vulnerability in Erlang OTP public_key (pubkey_cert module) allows a non-CA certificate to be accepted as an intermediate issuer, enabling certificate chain forgery. In lib/public_key/src/pubkey_cert.erl, p…

  • High 8.2

    Gnutls: gnutls: certificate validation bypass due to oversized subject alternative name

    A flaw was found in gnutls. When validating certificates, an oversized Subject Alternative Name (SAN) could cause the validation process to incorrectly fall back to checking the Common Name (CN) field. This could allow a remote attacker to bypass proper certi…

  • High 7.1

    Gnutls: gnutls: certificate validation bypass due to improper handling of uri and srv sans

    A flaw was found in gnutls. A remote attacker could exploit this vulnerability by presenting a specially crafted certificate that contains Uniform Resource Identifier (URI) or Service (SRV) Subject Alternative Names (SANs). This could cause the certificate va…

  • High 8.1

    epa4all-client: VAU Signature bypass

    epa4all-client is the Java Client for epa4all / ePA 3.0 in the Telematik Infrastruktur. Prior to 1.2.1, in SignedPublicKeysTrustValidatorImpl.isTrusted(), the ECDSA signature verification at line 45 discards the boolean return value of Signature.verify(). The…

  • High 8.1

    epa4all-client: TLS Certificate Validation Disabled in Production

    epa4all-client is the Java Client for epa4all / ePA 3.0 in the Telematik Infrastruktur. Prior to 1.2.2, an attacker on the network path between the ePA service and the Konnektor can present any TLS certificate (self-signed, expired, wrong CN) and intercept al…

  • High 7.4

    FastNetMon Community Edition through 1.2.9 does not verify TLS certificates on outbound HTTPS connections. The execute_…

  • High 8.2

    Unbounded body accumulation in HTTP/3 response loop in hackney

    Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding. hackney_h3:await_response_loop/6 accumulates the HTTP/3 response body in memory without any size cap. The after Timeout clause is a per-message inactivity t…

  • High 8.8

    An improper certificate validation vulnerability in Ivanti Secure Access Client before 22.8R6 allows a remote unauthent…

  • High 7.4

    goshs: SSH host key verification disabled, allowing transparent MITM of every tunnelled HTTP request

    ### Summary The `--tunnel` / `-t` flag opens an outbound SSH connection to `localhost.run:22` with `HostKeyCallback: ssh.InsecureIgnoreHostKey()`. The Go documentation for that function states verbatim: *"It should not be used for production code."* With the …

  • High 8.7

    Elixir WebRTC: Missing DTLS peer fingerprint validation in ex_webrtc client-role handshake

    Elixir WebRTC is an Elixir implementation of the W3C WebRTC API. Prior to 0.15.1 and 0.16.1, missing DTLS peer certificate fingerprint validation in the DTLS client (active) role removes one side of WebRTC's mutual authentication. The bug is not independently…

  • High 8.2

    Fleet has a Windows MDM management endpoint authentication bypass

    Fleet is open source device management software. Prior to version 4.81.0, a vulnerability in Fleet’s Windows MDM management endpoint could allow requests to be processed without proper client certificate validation. In certain circumstances, this could allow …

  • High 8.2

    SSL verification is disabled in the DNS Cluster system. This could allow for a malicious server to man-in-the-middle th…

  • High 7.4

    "Kura Sushi Official App" provided by EPG, Inc. is vulnerable to improper certificate validation. A man-in-the-middle a…

  • High 8.2

    GnuTLS backend silently skips certificate chain verification when verify_peer is false

    PJSIP is a free and open source multimedia communication library written in C. Prior to version 2.17, on GnuTLS builds, the SIP TLS transport (sip_transport_tls) can accept connections with invalid or untrusted certificates even when the application explicitl…

  • High 8.9

    An Improper Certificate Validation in Ivanti EPMM before versions 12.6.1.1, 12.7.0.1, and 12.8.0.1 allows a remote unau…

  • High 7.4

    Improper certificate validation in Ivanti EPMM before versions 12.6.1.1, 12.7.0.1, and 12.8.0.1 allows a remote unauthe…

  • High 7.4

    Gnutls: gnutls: security bypass due to incorrect name constraint handling

    A flaw was found in gnutls. This vulnerability occurs because permitted name constraints were incorrectly ignored when previous Certificate Authorities (CAs) only had excluded name constraints. A remote attacker could exploit this to bypass critical name cons…

  • High 7.3

    Apache Thrift: TSSLTransportFactory.java hostname verification

    Improper Validation of Certificate with Host Mismatch vulnerability in Apache Thrift. This issue affects Apache Thrift: before 0.23.0. Users are recommended to upgrade to version 0.23.0, which fixes the issue.

  • High 7.2

    Dell PowerProtect Data Domain with Data Domain Operating System (DD OS) of Feature Release versions 7.7.1.0 through 8.5…

  • High 8.6

    Improper Certificate Signature Verification in X.509 Chain Validation Allows Forged Leaf Certificates

    wolfSSL_X509_verify_cert in the OpenSSL compatibility layer accepts a certificate chain in which the leaf's signature is not checked, if the attacker supplies an untrusted intermediate with Basic Constraints `CA:FALSE` that is legitimately signed by a trusted…

  • High 7.0

    URI nameConstraints not enforced in ConfirmNameConstraints()

    URI nameConstraints from constrained intermediate CAs are parsed but not enforced during certificate chain verification in wolfcrypt/src/asn.c. A compromised or malicious sub-CA could issue leaf certificates with URI SAN entries that violate the nameConstrain…

  • High 8.2

    Rhacm: open cluster management (ocm): cross-cluster privilege escalation via improper kubernetes client certificate renewal validation

    A flaw was found in Open Cluster Management (OCM), the technology underlying Red Hat Advanced Cluster Management (ACM). Improper validation of Kubernetes client certificate renewal allows a managed cluster administrator to forge a client certificate that can …

  • High 7.6

    OCSP designated-responder authorization bypass via missing signature verification

    Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_ocsp module) allows OCSP designated-responder authorization bypass via missing signature verification. The OCSP response validation in public_key:pkix_ocsp_validate/5 does not veri…

  • High 8.7

    Bulwark Webmail S/MIME signature verification accepted self-signed certificates

    Bulwark Webmail is a self-hosted webmail client for Stalwart Mail Server. Prior to 1.4.11, S/MIME signature verification did not validate the certificate trust chain (checkChain: false). Any email signed with a self-signed or untrusted certificate was display…

  • High 7.4

    Improper certificate validation in identity provider connection components in Amazon Athena ODBC driver

    Improper certificate validation in the identity provider connection components in Amazon Athena ODBC driver before 2.1.0.0 might allow a man-in-the-middle threat actor to intercept authentication credentials due to insufficient default transport security when…

  • High 7.7

    S/MIME Signature Additional Certificate

    SEPPmail Secure Email Gateway before version 15.0.3 allows an attacker to cause attacker-controlled certificates to be used for future encryption to a victim by adding the certificates to S/MIME signatures.

  • High 7.5

    UniFi Network Controller Improper Certificate Validation Leading to Credential Theft via MITM

    UniFi Network Controller before version 5.10.22 and 5.11.x before 5.11.18 contains an improper certificate verification vulnerability that allows adjacent network attackers to conduct man-in-the-middle attacks by presenting a false SSL certificate during SMTP…

  • High 7.4

    Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)

    Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, `pki.verifyCertificateChain()` does not enforce RFC 5280 basicConstraints requirements when an intermediate certificate lacks both t…

  • High —

    AWS-LC X.509 Name Constraints Bypass via Wildcard/Unicode CN

    ### Summary AWS-LC is an open-source, general-purpose cryptographic library. ### Impact A logic error in CN (Common Name) validation allows certificates with wildcard or raw UTF-8 Unicode CN values to bypass name constraints enforcement. The `cn2dnsid` functi…

  • High 8.1

    Improper certificate validation in the PAM propagation WinRM connections allows a network attacker to perform a man-in-…

  • High 7.4

    CRL Distribution Point Scope Check Logic Error in AWS-LC

    A logic error in CRL distribution point validation in AWS-LC before 1.71.0 causes partitioned CRLs to be incorrectly rejected as out of scope, which allows a revoked certificate to bypass certificate revocation checks. To remediate this issue, users should up…

  • High 8.3

    Improper certificate validation in Devolutions Hub Reporting Service 2025.3.1.1 and earlier allows a network attacker t…

  • High 8.7

    cpp-httplib has a Silent TLS Certificate Verification Bypass on HTTPS Redirect via Proxy

    cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.37.2, when a cpp-httplib client is configured with a proxy and set_follow_location(true), any HTTPS redirect it follows will have TLS certificate and hostname verific…

  • High 7.1

    An improper certificate validation vulnerability was reported in the Lenovo Filez application that could allow a user c…

  • High 8.8

    Wallos: Server-Side Request Forgery (SSRF) in Notification Testers

    Wallos is an open-source, self-hostable personal subscription tracker. Prior to version 4.6.2, there is a server-side request forgery vulnerability in notification testers. This issue has been patched in version 4.6.2.

  • High 7.5

    Incorrect enforcement of email constraints in crypto/x509

    When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be…

  • High 7.8

    S/MIME Certificate Subject Whitespace

    SEPPmail Secure Email Gateway before version 15.0.1 improperly validates S/MIME certificates issued for email addresses containing whitespaces, allowing signature spoofing.

  • High 7.5

    PKCS7_verify Certificate Chain Validation Bypass in AWS-LC

    Improper certificate validation in PKCS7_verify() in AWS-LC allows an unauthenticated user to bypass certificate chain verification when processing PKCS7 objects with multiple signers, except the final signer. Customers of AWS services do not need to take act…