synced 4 MIN AGO
01 Record

CVE-2021-3677

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

UnratedPUBLISHEDCNA: redhat
CNA base scoreUnratedNo CNA CVSS vector

02 Description

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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
1.44% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 72.9% of scored records. A rank, not a probability.
NVD base score
6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-03-02 00:00Z4 YR AGO
Last updated
2024-08-03 17:01Z2 YR AGO
Reserved
2021-08-03
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-200Exposure of Sensitive Information to an Unauthorized ActorClass
Data version
5.1
Document digest
f426294fc00cd5a44d33f8dc02f261494a5df7b5216d36d58257352088d5c326

05 Affected products

VendorProductVersionsPlatforms
n/apostgresqlFixedin v13.4, v12.8, v11.13—

06 References

07 Fixed in

AlmaLinux 8

  • pg_repack
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.6-3.module_el8.5.0+2606+4554acc4
    • Affected before 1.4.6-3.module_el8.5.0+2607+8c0fd184
    • Affected before 1.4.6-3.module_el8.6.0+2758+4f4474df
    • Affected before 1.4.6-3.module_el8.6.0+2760+1746ec94
  • pgaudit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.0-5.module_el8.5.0+2606+4554acc4
    • Affected before 1.4.0-5.module_el8.6.0+2758+4f4474df
    • Affected before 1.5.0-1.module_el8.5.0+2607+8c0fd184
    • Affected before 1.5.0-1.module_el8.6.0+2760+1746ec94
  • postgres-decoderbufs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.10.0-2.module_el8.5.0+2606+4554acc4
    • Affected before 0.10.0-2.module_el8.5.0+2607+8c0fd184
    • Affected before 0.10.0-2.module_el8.6.0+2758+4f4474df
    • Affected before 0.10.0-2.module_el8.6.0+2760+1746ec94
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-test-rpm-macros
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • postgresql
    Fixed in 13.4-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • pg_repack
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.6-3.module_el8.5.0+2606+4554acc4
    • Affected before 1.4.6-3.module_el8.5.0+2607+8c0fd184
    • Affected before 1.4.6-3.module_el8.6.0+2758+4f4474df
    • Affected before 1.4.6-3.module_el8.6.0+2760+1746ec94
  • pgaudit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.0-5.module_el8.5.0+2606+4554acc4
    • Affected before 1.4.0-5.module_el8.6.0+2758+4f4474df
    • Affected before 1.5.0-1.module_el8.5.0+2607+8c0fd184
    • Affected before 1.5.0-1.module_el8.6.0+2760+1746ec94
  • postgres-decoderbufs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.10.0-2.module_el8.5.0+2606+4554acc4
    • Affected before 0.10.0-2.module_el8.5.0+2607+8c0fd184
    • Affected before 0.10.0-2.module_el8.6.0+2758+4f4474df
    • Affected before 0.10.0-2.module_el8.6.0+2760+1746ec94
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-test-rpm-macros
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 12.9-1.module_el8.5.0+2606+4554acc4
    • Affected before 13.5-1.module_el8.5.0+2607+8c0fd184

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 11

  • postgresql-13
    Fixed in 13.4-0+deb11u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • postgresql-12
    Fixed in 12.8-0ubuntu0.20.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.