Advisory

PYSEC-2018-98

Also known as: CVE-2016-8640, GHSA-hg4c-rgvm-964g

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2018-08-01 18:29 UTC
Modified
2026-06-08 11:15 UTC

Affected packages and fixes

pycsw

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.6, introduced 1.10.0, fixed 1.10.5, introduced 2.0.0, fixed 2.0.2 (ecosystem)

Fixed versions

1.8.6, 1.10.5, 2.0.2

Fix

  • Fixed version 1.8.6
    pip install --upgrade pycsw==1.8.6
  • Fixed version 1.10.5
    pip install --upgrade pycsw==1.10.5
  • Fixed version 2.0.2
    pip install --upgrade pycsw==2.0.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences