Rapid7 Vulnerability & Exploit Database

CentOS Linux: CVE-2022-41946: Moderate: Red Hat Virtualization security and bug fix update (Multiple Advisories)

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

CentOS Linux: CVE-2022-41946: Moderate: Red Hat Virtualization security and bug fix update (Multiple Advisories)



pgjdbc is an open source postgresql JDBC Driver. In affected versions a prepared statement using either `PreparedStatement.setText(int, InputStream)` or `PreparedStatemet.setBytea(int, InputStream)` will create a temporary file if the InputStream is larger than 2k. This will create a temporary file which is readable by other users on Unix like systems, but not MacOS. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system. This vulnerability does not allow other users to overwrite the contents of these directories or files. This is purely an information disclosure vulnerability. Because certain JDK file system APIs were only added in JDK 1.7, this this fix is dependent upon the version of the JDK you are using. Java 1.7 and higher users: this vulnerability is fixed in 4.5.0. Java 1.6 and lower users: no patch is available. If you are unable to patch, or are stuck running on Java 1.6, specifying the java.io.tmpdir system environment variable to a directory that is exclusively owned by the executing user will mitigate this vulnerability.


  • centos-upgrade-foreman-cli
  • centos-upgrade-ovirt-ansible-collection
  • centos-upgrade-postgresql-jdbc
  • centos-upgrade-postgresql-jdbc-javadoc
  • centos-upgrade-python39-pulp_manifest
  • centos-upgrade-rubygem-amazing_print
  • centos-upgrade-rubygem-apipie-bindings
  • centos-upgrade-rubygem-clamp
  • centos-upgrade-rubygem-domain_name
  • centos-upgrade-rubygem-fast_gettext
  • centos-upgrade-rubygem-ffi
  • centos-upgrade-rubygem-ffi-debuginfo
  • centos-upgrade-rubygem-ffi-debugsource
  • centos-upgrade-rubygem-foreman_maintain
  • centos-upgrade-rubygem-gssapi
  • centos-upgrade-rubygem-hammer_cli
  • centos-upgrade-rubygem-hammer_cli_foreman
  • centos-upgrade-rubygem-hammer_cli_foreman_admin
  • centos-upgrade-rubygem-hammer_cli_foreman_ansible
  • centos-upgrade-rubygem-hammer_cli_foreman_azure_rm
  • centos-upgrade-rubygem-hammer_cli_foreman_bootdisk
  • centos-upgrade-rubygem-hammer_cli_foreman_discovery
  • centos-upgrade-rubygem-hammer_cli_foreman_google
  • centos-upgrade-rubygem-hammer_cli_foreman_openscap
  • centos-upgrade-rubygem-hammer_cli_foreman_remote_execution
  • centos-upgrade-rubygem-hammer_cli_foreman_tasks
  • centos-upgrade-rubygem-hammer_cli_foreman_templates
  • centos-upgrade-rubygem-hammer_cli_foreman_virt_who_configure
  • centos-upgrade-rubygem-hammer_cli_foreman_webhooks
  • centos-upgrade-rubygem-hammer_cli_katello
  • centos-upgrade-rubygem-hashie
  • centos-upgrade-rubygem-highline
  • centos-upgrade-rubygem-http-accept
  • centos-upgrade-rubygem-http-cookie
  • centos-upgrade-rubygem-jwt
  • centos-upgrade-rubygem-little-plugger
  • centos-upgrade-rubygem-locale
  • centos-upgrade-rubygem-logging
  • centos-upgrade-rubygem-mime-types
  • centos-upgrade-rubygem-mime-types-data
  • centos-upgrade-rubygem-multi_json
  • centos-upgrade-rubygem-netrc
  • centos-upgrade-rubygem-oauth
  • centos-upgrade-rubygem-oauth-tty
  • centos-upgrade-rubygem-powerbar
  • centos-upgrade-rubygem-rest-client
  • centos-upgrade-rubygem-snaky_hash
  • centos-upgrade-rubygem-unf
  • centos-upgrade-rubygem-unf_ext
  • centos-upgrade-rubygem-unf_ext-debuginfo
  • centos-upgrade-rubygem-unf_ext-debugsource
  • centos-upgrade-rubygem-unicode
  • centos-upgrade-rubygem-unicode-debuginfo
  • centos-upgrade-rubygem-unicode-debugsource
  • centos-upgrade-rubygem-unicode-display_width
  • centos-upgrade-rubygem-version_gem
  • centos-upgrade-satellite-cli
  • centos-upgrade-satellite-clone
  • centos-upgrade-satellite-maintain

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