GHSA-vm3q-58wm-2r2x

Suggest an improvement
Source
https://github.com/advisories/GHSA-vm3q-58wm-2r2x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vm3q-58wm-2r2x/GHSA-vm3q-58wm-2r2x.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-vm3q-58wm-2r2x
Aliases
Published
2022-05-13T01:50:42Z
Modified
2026-07-07T11:56:24Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
libpg_query memory leak
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.

Database specific
{
    "cwe_ids":  [
        "CWE-772"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-11-22T20:22:50Z",
    "nvd_published_at":  "2018-10-18T18:29:00Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / pg-query

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.28

Affected versions

0.*
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.10
0.11
0.12
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.20
0.21
0.22
0.23
0.24
0.25
0.26
0.27

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vm3q-58wm-2r2x/GHSA-vm3q-58wm-2r2x.json"

PyPI / pglast

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.28

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vm3q-58wm-2r2x/GHSA-vm3q-58wm-2r2x.json"