Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-23554

Uncontrolled search path element vulnerability exists in pg_ivm versions prior to 1.5.1. When refreshing an IMMV, pg_ivm executes functions without specifying schema names. Under certain conditions, pg_ivm may be tricked to execute unexpected functions from other schemas with the IMMV owner's privilege. If this vulnerability is exploited, an unexpected function provided by an attacker may be executed with the privilege of the materialized view owner.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-23554
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 19:38 UTC · Revision 1

Source evidence

CVE-2023-23554

core-osv · Original source

Published 7 Mar 2023, 00:00 UTC

Uncontrolled search path element vulnerability exists in pg_ivm versions prior to 1.5.1. When refreshing an IMMV, pg_ivm executes functions without specifying schema names. Under certain conditions, pg_ivm may be tricked to execute unexpected functions from other schemas with the IMMV owner's privilege. If this vulnerability is exploited, an unexpected function provided by an attacker may be executed with the privilege of the materialized view owner.

osv:CVE-2023-23554
Complete source record
{
  "id": "b2c6411649451f1921276671925c4aa03910ddc320408bc04b311db3c5901515",
  "url": "https://osv.dev/vulnerability/CVE-2023-23554",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-23554",
    "summary": "Uncontrolled search path element vulnerability exists in pg_ivm versions prior to 1.5.1. When refreshing an IMMV, pg_ivm executes functions without specifying schema names. Under certain conditions, pg_ivm may be tricked to execute unexpected functions from other schemas with the IMMV owner's privilege. If this vulnerability is exploited, an unexpected function provided by an attacker may be executed with the privilege of the materialized view owner.",
    "evidence": "osv:CVE-2023-23554",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-23554",
      "aliases": [
        "CVE-2023-23554"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sraoss/pg_ivm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a81c657223261ecb565036020eeb8ffacfe938ea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.5.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "VersionTextExtraction"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a81c657223261ecb565036020eeb8ffacfe938ea"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.5.1"
                  },
                  {
                    "cpe": "cpe:2.3:a:sraoss:pg_ivm:*:*:*:*:*:postgresql:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.5",
            "v1.4.1",
            "v1.4",
            "v1.3",
            "1.3",
            "v1.2",
            "v1.1",
            "v1.0",
            "v1.0-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23554.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.917751698Z",
      "provider": "osv",
      "references": [
        "https://github.com/sraoss/pg_ivm/releases/tag/v1.5.1",
        "https://jvn.jp/en/jp/JVN19872280/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23554.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-23554",
        "https://github.com/sraoss/pg_ivm"
      ],
      "provider_metadata": {
        "cna_assigner": "jpcert",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23554.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-23554",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515985,
  "published_at": "2023-03-07T00:00:00+00:00"
}