Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-A03636F4-A29F-11EF-AF48-6CC21735F730 (CVE-2024-10979): PostgreSQL -- PL/Perl environment variable changes execute arbitrary code

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-A03636F4-A29F-11EF-AF48-6CC21735F730 (CVE-2024-10979): PostgreSQL -- PL/Perl environment variable changes execute arbitrary code

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
11/14/2024
Created
11/16/2024
Added
11/15/2024
Modified
11/15/2024

Description

Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

Solution(s)

  • freebsd-upgrade-package-postgresql12-plperl
  • freebsd-upgrade-package-postgresql13-plperl
  • freebsd-upgrade-package-postgresql14-plperl
  • freebsd-upgrade-package-postgresql15-plperl
  • freebsd-upgrade-package-postgresql16-plperl
  • freebsd-upgrade-package-postgresql17-plperl

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;