CVE-2022-41862: In PostgreSQL, a modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption.
Low CVSS 3.7
- CVE id
- CVE-2022-41862
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL Runtimes and servers |
>= 12.0, < 12.14 >= 13.0, < 13.10 >= 14.0, < 14.7 >= 15.0, < 15.2 |
12.14, 13.10, 14.7, 15.2 |
How to fix it
Upgrade PostgreSQL to the fixed release of the line you run: 12.14, 13.10, 14.7, 15.2.
psql -c 'SELECT version();'
- Install the patched PostgreSQL minor release of your major version (the postgres image tag, the PGDG packages, or your provider's maintenance update) and restart the server; minor releases need no dump or pg_upgrade.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
In PostgreSQL, a modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption. In certain conditions a server can cause a libpq client to over-read and report an error message containing uninitialized bytes.
References
- CVE-2022-41862 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-41862
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2165722
- Web: https://security.netapp.com/advisory/ntap-20230427-0002/
- Web: https://www.postgresql.org/support/security/CVE-2022-41862/
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2165722
- Web: https://security.netapp.com/advisory/ntap-20230427-0002/
- Web: https://www.postgresql.org/support/security/CVE-2022-41862/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.