Advisory

PYSEC-2018-154

Also known as: CVE-2018-18482, GHSA-vm3q-58wm-2r2x, PYSEC-2026-895

Summary

The record has no summary.

Details

An issue was discovered in libpg_query 10-1.0.2. There is a memory leak in pg_query_raw_parse in pg_query_parse.c, which might lead to a denial of service.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2018-10-18 18:29 UTC
Modified
2026-07-07 11:56 UTC

Affected packages and fixes

pg-query

PyPI · All systems

Affected

  • introduced 0, fixed 0.28 (ecosystem)

Fixed versions

0.28

Fix

  • Fixed version 0.28
    pip install --upgrade pg-query==0.28

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