Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pg
  4. ›
  5. GMS-2017-178

GMS-2017-178: Remote Code Execution

August 13, 2017

A remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name.

References

  • node-postgres.com/announcements

Code Behaviors & Features

Detect and mitigate GMS-2017-178 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.11.2, all versions starting from 3.0.0 before 3.6.4, all versions starting from 4.0.0 before 4.5.7, all versions starting from 5.0.0 before 5.2.1, all versions starting from 6.0.0 before 6.0.5, all versions starting from 6.1.0 before 6.1.6, all versions starting from 6.2.0 before 6.2.5, all versions starting from 6.3.0 before 6.3.3, all versions starting from 6.4.0 before 6.4.2, all versions starting from 7.0.0 before 7.0.2, all versions starting from 7.1.0 before 7.1.2

Fixed 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

Solution

Upgrade to one of the fixed versions.

Source file

npm/pg/GMS-2017-178.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:14 +0000.