Remote Code Execution in pg
Critical severity
GitHub Reviewed
Published
Jul 24, 2018
to the GitHub Advisory Database
•
Updated Sep 11, 2023
Package
Affected versions
< 2.11.2
>= 3.0.0, < 3.6.4
>= 4.0.0, < 4.5.7
>= 5.0.0, < 5.2.1
>= 6.0.0, < 6.0.5
>= 6.1.0, < 6.1.6
>= 6.2.0, < 6.2.5
>= 6.3.0, < 6.3.3
>= 6.4.0, < 6.4.2
>= 7.0.0, < 7.0.2
>= 7.1.0, < 7.1.2
Patched versions
2.11.2
3.6.4
4.5.7
5.2.1
6.0.5
6.1.6
6.2.5
6.3.3
6.4.2
7.0.2
7.1.2
Description
Published to the GitHub Advisory Database
Jul 24, 2018
Reviewed
Jun 16, 2020
Last updated
Sep 11, 2023
Affected versions of
pg
contain a remote code execution vulnerability that occurs when the remote database or query specifies a crafted column name.There are two specific scenarios in which it is likely for an application to be vulnerable:
Proof of Concept
Recommendation
References