{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"low\"}"}}}], "affected": [{"vendor": "debian", "product": "python-tweepy", "versions": [{"status": "affected", "version": "0", "lessThan": "3.1.0-2", "versionType": "deb"}], "platforms": ["bookworm"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-tweepy-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "3.1.0-2", "versionType": "deb"}], "platforms": ["bookworm"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2012-5825"}], "descriptions": [{"lang": "en", "value": "Tweepy does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to use of the Python httplib library."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2012-11-04T22:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 5.3, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "NONE"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 6.9, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N", "userInteraction": "NONE", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "subIntegrityImpact": "NONE", "vulnIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "vulnConfidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "pypi", "product": "tweepy", "versions": [{"status": "affected", "version": "0", "lessThan": "2.3.1", "versionType": "custom"}, {"status": "affected", "version": "0", "lessThan": "3.0", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79831"}, {"url": "https://github.com/advisories/GHSA-pwx5-xg7g-wpc5"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/tweepy/PYSEC-2012-17.yaml"}, {"url": "https://github.com/tweepy/tweepy"}, {"url": "https://github.com/tweepy/tweepy/issues/279"}, {"url": "https://github.com/tweepy/tweepy/pull/400"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5825"}], "descriptions": [{"lang": "en", "value": "Tweepy does not verify SSL Certificate "}, {"lang": "en", "value": "Tweepy does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to use of the Python httplib library."}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2012-11-04T22:55:00Z", "x_subShortName": "pypi"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2012-5825"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 7.4, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:tweepy:tweepy:*:*:*:*:*:*:*:*"], "vendor": "tweepy", "product": "tweepy", "versions": [{"status": "affected", "version": "0", "lessThan": "3.0.0", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf", "tags": ["exploit"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/79831", "tags": ["permissions-required"]}], "descriptions": [{"lang": "en", "value": "Tweepy does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to use of the Python httplib library."}, {"lang": "es", "value": "Tweepy no comprueba si el nombre del servidor coincide con un nombre de dominio en el CN del sujeto o en el campo subjectAltName del certificado X.509, lo que permite ataques man-in-the-middle que permiten falsificar servidores SSL mediante un certificado válido de su elección. Se trata de un asunto relacionado con el uso de la biblioteca de Python httplib."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-20", "description": "CWE-20"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-11-04T22:55:04Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-5825", "state": "PUBLISHED", "dateUpdated": "2026-09-17T14:22:42Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2012-11-04T22:55:04Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}