Skip to content
pkgseek
Back to CVE search

CVE-2021-3677

medium · 6.5

A flaw was found in postgresql. A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. The attack does not require the ability to create objects. If server settings include max_worker_processes=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting.

First indexed 8/12/2021View on NVD

Advisory Facts

Markdown

CVE-2021-3677 is rated MEDIUM (6.5), with 38 indexed affected package builds across 3 distributions.

Severity / Score
MEDIUM (6.5)
Affected builds
38
Affected distros
3
Distros with fixed_in
Alibaba Cloud Linux, Oracle Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-3677?locale=en

Distribution-aware status

3
Distributions
38
Package/release records
5
Vendor advisories
38
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.

38 affected package/release combinations
postgresql
3x86_64
13.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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.3-1.1.al8Fixed in 13.7-2.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

CNNVD cross-reference

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