PyPi: Psycopg

CVE-2021-23214

Transitive

Safety vulnerability ID: 42693

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Mar 04, 2022 Updated at Jul 01, 2024
Scan your Python projects for vulnerabilities →

Advisory

Psycopg 3.0.4 updates its dependency 'libpq' to at least v14.1 to include a security fix.

Affected package

psycopg

Latest version: 3.2.1

PostgreSQL database adapter for Python

Affected versions

Fixed versions

Vulnerability changelog

^^^^^^^^^^^^^

- Allow to use the module with strict strings comparison (:ticket:`147`).
- Fix segfault on Python 3.6 running in ``-W error`` mode, related to
`!backport.zoneinfo` `ticket 109
<https://github.com/pganssle/zoneinfo/issues/109>`__.
- Build binary package with libpq versions not affected by `CVE-2021-23222
<https://www.postgresql.org/support/security/CVE-2021-23222/>`__
(:ticket:`149`).

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 8.1

CVSS v3 Details

HIGH 8.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
HIGH
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 5.1
Access Vector (AV)
NETWORK
Access Complexity (AC)
HIGH
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL