lelit/pglast · Security
libpg_query memory leak
- GHSA ID
- GHSA-vm3q-58wm-2r2x
- CVE ID
- CVE-2018-18482
- Severity
- high
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS v3
- 6.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS v4
- 7.1 · 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
Description
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.
CWEs
- CWE-772 · Missing Release of Resource after Effective Lifetime