CVE-2016-8640 (GCVE-0-2016-8640)

Vulnerability from cvelistv5 – Published: 2018-08-01 18:00 – Updated: 2024-09-17 00:31
VLAI
Summary
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.
CWE
Assigner
redhat CNA under the redhat root
CNA scorecard B 82/100 over 1131 records in the last 180 days details
References
Impacted products
Vendor Product Version CPE status
https://github.com/geopython pycsw Affected: all versions before 2.0.2, 1.10.5 and 1.8.6
guessed Create a notification for this product.
Date Public
2016-11-11 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T02:27:41.278Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "94302",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/94302"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/geopython/pycsw/pull/474/files"
          },
          {
            "name": "[oss-security] 20161111 CVE-2016-8640 pycsw SQL injection issue",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://seclists.org/oss-sec/2016/q4/406"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "pycsw",
          "vendor": "https://github.com/geopython",
          "versions": [
            {
              "status": "affected",
              "version": "all versions before 2.0.2, 1.10.5 and 1.8.6"
            }
          ]
        }
      ],
      "datePublic": "2016-11-11T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-08-02T09:57:01.000Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "94302",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/94302"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/geopython/pycsw/pull/474/files"
        },
        {
          "name": "[oss-security] 20161111 CVE-2016-8640 pycsw SQL injection issue",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://seclists.org/oss-sec/2016/q4/406"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch"
        }
      ],
      "x_legacyV4Record": {
        "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"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2016-8640",
    "datePublished": "2018-08-01T18:00:00.000Z",
    "dateReserved": "2016-10-12T00:00:00.000Z",
    "dateUpdated": "2024-09-17T00:31:15.280Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2016-8640",
      "date": "2026-11-08",
      "epss": "0.02306",
      "percentile": "0.83463"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "93F22ACE-B27B-4581-AFB2-451FB18746A7",
                  "versionEndExcluding": "1.8.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "DA750711-B7EC-4292-A773-4AE8D2F4A1BC",
                  "versionEndExcluding": "1.10.5",
                  "versionStartIncluding": "1.10.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "805FD9E5-CA63-4B11-99E9-BFDECBCBA5DB",
                  "versionEndExcluding": "2.0.2",
                  "versionStartIncluding": "2.0.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "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."
        },
        {
          "lang": "es",
          "value": "Una vulnerabilidad de inyecci\u00f3n SQL en pycsw en todas las versiones anteriores a la 2.0.2, 1.10.5 y 1.8.6 conduce a la lectura y extracci\u00f3n de cualquier dato de cualquier tabla en la base de datos de pycsw al que tenga acceso el usuario de la base de datos. Adem\u00e1s, en PostgreSQL (al menos) es posible realizar actualizaciones/inserciones/eliminaciones y modificaciones de la base de datos en cualquier tabla a la que el usuario de la base de datos tiene acceso."
        }
      ],
      "id": "CVE-2016-8640",
      "lastModified": "2024-11-21T02:59:44.623",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "HIGH",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "PARTIAL",
              "baseScore": 7.5,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 6.4,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 9.1,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
              "version": "3.0"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 5.2,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2018-08-01T18:29:00.220",
      "references": [
        {
          "source": "secalert@redhat.com",
          "tags": [
            "Mailing List",
            "Patch",
            "Third Party Advisory"
          ],
          "url": "http://seclists.org/oss-sec/2016/q4/406"
        },
        {
          "source": "secalert@redhat.com",
          "tags": [
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "http://www.securityfocus.com/bid/94302"
        },
        {
          "source": "secalert@redhat.com",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/geopython/pycsw/pull/474/files"
        },
        {
          "source": "secalert@redhat.com",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Mailing List",
            "Patch",
            "Third Party Advisory"
          ],
          "url": "http://seclists.org/oss-sec/2016/q4/406"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "http://www.securityfocus.com/bid/94302"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/geopython/pycsw/pull/474/files"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch"
        }
      ],
      "sourceIdentifier": "secalert@redhat.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-89"
            }
          ],
          "source": "secalert@redhat.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-89"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "93F22ACE-B27B-4581-AFB2-451FB18746A7",
                    "versionEndExcluding": "1.8.6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DA750711-B7EC-4292-A773-4AE8D2F4A1BC",
                    "versionEndExcluding": "1.10.5",
                    "versionStartIncluding": "1.10.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:pycsw:pycsw:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "805FD9E5-CA63-4B11-99E9-BFDECBCBA5DB",
                    "versionEndExcluding": "2.0.2",
                    "versionStartIncluding": "2.0.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "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."
          },
          {
            "lang": "es",
            "value": "Una vulnerabilidad de inyecci\u00f3n SQL en pycsw en todas las versiones anteriores a la 2.0.2, 1.10.5 y 1.8.6 conduce a la lectura y extracci\u00f3n de cualquier dato de cualquier tabla en la base de datos de pycsw al que tenga acceso el usuario de la base de datos. Adem\u00e1s, en PostgreSQL (al menos) es posible realizar actualizaciones/inserciones/eliminaciones y modificaciones de la base de datos en cualquier tabla a la que el usuario de la base de datos tiene acceso."
          }
        ],
        "id": "CVE-2016-8640",
        "lastModified": "2024-11-21T02:59:44.623",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "HIGH",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 7.5,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 10.0,
              "impactScore": 6.4,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV30": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
                "version": "3.0"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.2,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2018-08-01T18:29:00.220",
        "references": [
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Mailing List",
              "Patch",
              "Third Party Advisory"
            ],
            "url": "http://seclists.org/oss-sec/2016/q4/406"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Third Party Advisory",
              "VDB Entry"
            ],
            "url": "http://www.securityfocus.com/bid/94302"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/geopython/pycsw/pull/474/files"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Mailing List",
              "Patch",
              "Third Party Advisory"
            ],
            "url": "http://seclists.org/oss-sec/2016/q4/406"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Third Party Advisory",
              "VDB Entry"
            ],
            "url": "http://www.securityfocus.com/bid/94302"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/geopython/pycsw/pull/474/files"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://patch-diff.githubusercontent.com/raw/geopython/pycsw/pull/474.patch"
          }
        ],
        "sourceIdentifier": "secalert@redhat.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-89"
              }
            ],
            "source": "secalert@redhat.com",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-89"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.