cve.bz

CWE-297: Improper Validation of Certificate with Host Mismatch, published in 2021

Filter

The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.

What the weakness is: CWE-297 at MITRE. OWASP Top 10: A07:2025 Authentication Failures. All weaknesses

Ask an AI about CWE-297

Show the promptExplain CWE-297: Improper Validation of Certificate with Host Mismatch and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/297.html and https://cve.bz/cve/cwe/297?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

  1. 9.1CVE-2021-33695sap cloud connectorEPSS 0.6%

    Potentially, SAP Cloud Connector, version - 2.0 communication with the backend is accepted without sufficient validation of the certificate.

  2. 7.4CVE-2020-14387samba rsyncEPSS 1.1%

    A flaw was found in rsync in versions since 3.2.0pre1. Rsync improperly validates certificate with host mismatch vulnerability. A remote, unauthenticated attacker could exploit the flaw by performing a man-in-the-middle attack using a vali…

  3. 7.4CVE-2021-21385mifos mifos-mobileEPSS 0.7%

    Mifos-Mobile Android Application for MifosX is an Android Application built on top of the MifosX Self-Service platform. Mifos-Mobile before commit e505f62 disables HTTPS hostname verification of its HTTP client. Additionally it accepted an…

  4. 6.8CVE-2020-15260teluu pjsipEPSS 1.0%

    PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In version 2.10 and earlier, PJSIP transport can be reused if they hav…