CVE-2017-16082

NameCVE-2017-16082
DescriptionA remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name. There are 2 likely scenarios in which one would likely be vulnerable. 1) Executing unsafe, user-supplied sql which contains a malicious column name. 2) Connecting to an untrusted database and executing a query which returns results where any of the column names are malicious.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-postgres (PTS)jessie0.13.3-1vulnerable
buster7.7.1-3fixed
bullseye7.14.0-2fixed
bookworm8.8.0+~cs35.9.20-1fixed
sid, trixie8.13.1+~cs35.16.30-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-postgressource(unstable)7.7.1-1unimportant

Notes

https://nodesecurity.io/advisories/521
nodejs not covered by security support

Search for package or bug name: Reporting problems