{"api_version":"1","generated_at":"2026-07-23T03:38:14+00:00","cve":"CVE-2016-8640","urls":{"html":"https://cve.report/CVE-2016-8640","api":"https://cve.report/api/cve/CVE-2016-8640.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-8640","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-8640"},"summary":{"title":"CVE-2016-8640","description":"A SQL injection vulnerability in pycsw all versions before 2.0.2, 1.10.5 and 1.8.6 that leads to read and extract of any data from any table in the pycsw database that the database user has access to. Also on PostgreSQL (at least) it is possible to perform updates/inserts/deletes and database modifications to any table the database user has access to.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2018-08-01 18:29:00","updated_at":"2019-10-09 23:20:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"http://seclists.org/oss-sec/2016/q4/406","name":"[oss-security] 20161111 CVE-2016-8640 pycsw SQL injection issue","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-sec: CVE-2016-8640 pycsw SQL injection issue","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/geopython/pycsw/pull/474/files","name":"https://github.com/geopython/pycsw/pull/474/files","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Better CQL handling by tomkralidis · Pull Request #474 · geopython/pycsw · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/94302","name":"94302","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"pycsw CVE-2016-8640 SQL Injection Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch","name":"https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"","mime":"text/x-diff","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-8640","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8640","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"8640","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pycsw","cpe5":"pycsw","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"8640","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pycsw","cpe5":"pycsw","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2016-8640","qid":"983492","title":"Python (pip) Security Update for pycsw (GHSA-hg4c-rgvm-964g)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","DATE_PUBLIC":"2016-11-11T00:00:00","ID":"CVE-2016-8640","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"pycsw","version":{"version_data":[{"version_value":"all versions before 2.0.2, 1.10.5 and 1.8.6"}]}}]},"vendor_name":"https://github.com/geopython"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A SQL injection vulnerability in pycsw all versions before 2.0.2, 1.10.5 and 1.8.6 that leads to read and extract of any data from any table in the pycsw database that the database user has access to. Also on PostgreSQL (at least) it is possible to perform updates/inserts/deletes and database modifications to any table the database user has access to."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89"}]}]},"references":{"reference_data":[{"name":"94302","refsource":"BID","url":"http://www.securityfocus.com/bid/94302"},{"name":"https://github.com/geopython/pycsw/pull/474/files","refsource":"CONFIRM","url":"https://github.com/geopython/pycsw/pull/474/files"},{"name":"[oss-security] 20161111 CVE-2016-8640 pycsw SQL injection issue","refsource":"MLIST","url":"http://seclists.org/oss-sec/2016/q4/406"},{"name":"https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch","refsource":"CONFIRM","url":"https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch"}]}},"nvd":{"publishedDate":"2018-08-01 18:29:00","lastModifiedDate":"2019-10-09 23:20:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.0.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*","versionEndExcluding":"1.8.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*","versionStartIncluding":"1.10.0","versionEndExcluding":"1.10.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"8640","Ordinal":"95295","Title":"CVE-2016-8640","CVE":"CVE-2016-8640","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"8640","Ordinal":"1","NoteData":"A SQL injection vulnerability in pycsw all versions before 2.0.2, 1.10.5 and 1.8.6 that leads to read and extract of any data from any table in the pycsw database that the database user has access to. Also on PostgreSQL (at least) it is possible to perform updates/inserts/deletes and database modifications to any table the database user has access to.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"8640","Ordinal":"2","NoteData":"2018-08-01","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"8640","Ordinal":"3","NoteData":"2018-08-02","Type":"Other","Title":"Modified"}]}}}