Skip to content
pkgseek
Back to CVE search

CVE-2022-2625

high · 8

A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.

First indexed 8/11/2022View on NVD

Advisory Facts

Markdown

CVE-2022-2625 is rated HIGH (8.0), with 66 indexed affected package builds across 4 distributions.

Severity / Score
HIGH (8.0)
Affected builds
66
Affected distros
4
Distros with fixed_in
Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2022-2625?locale=en

Distribution-aware status

4
Distributions
66
Package/release records
9
Vendor advisories
66
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

66 affected package/release combinations
postgresql
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql
postgresql-contrib
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-contrib
postgresql-docs
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-docs
postgresql-plperl
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-plperl
postgresql-plpython3
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-plpython3
postgresql-pltcl
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-pltcl
postgresql-server
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-server
postgresql-server-devel
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-server-devel
postgresql-static
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-static
postgresql-test
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-test
postgresql-test-rpm-macros
3noarch
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-test-rpm-macros
postgresql-upgrade
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-upgrade
postgresql-upgrade-devel
3x86_64
13.7-2.0.1.al8Fixed in 13.10-1.0.1.al8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-upgrade-devel
pg_repack
8x86_64
1.4.6-3.module+el8.5.0+20333+86306fc7Fixed in 1.4.6-3.module+el8.5.0+20353+e924f9ed
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade pg_repack
postgresql
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql
postgresql-contrib
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-contrib
postgresql-plperl
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-plperl
postgresql-plpython3
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-plpython3
postgresql-pltcl
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-pltcl
postgresql-private-libs
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-private-libs
postgresql-server
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-server
postgresql-upgrade
9x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-upgrade
postgresql
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql
postgresql-contrib
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-contrib
postgresql-plperl
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-plperl
postgresql-plpython3
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-plpython3
postgresql-pltcl
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-pltcl
postgresql-private-libs
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-private-libs
postgresql-server
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-server
postgresql-upgrade
9.8x86_64
13.7-1.el9_0Fixed in 13.10-1.el9_1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade postgresql-upgrade

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.