Advisory

GHSA-hg4c-rgvm-964g

Also known as: CVE-2016-8640, PYSEC-2018-98

Summary

SQL Injection in pycsw

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-08-15 20:02 UTC
Modified
2026-06-09 13:00 UTC

Affected packages and fixes

pycsw

PyPI · All systems

Affected

  • introduced 2.0.0, fixed 2.0.2 (ecosystem)

Fixed versions

2.0.2

Fix

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

pycsw

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.6 (ecosystem)

Fixed versions

1.8.6

Fix

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

pycsw

PyPI · All systems

Affected

  • introduced 1.10.0, fixed 1.10.5 (ecosystem)

Fixed versions

1.10.5

Fix

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

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences