CVE-2022-31631

Publication date 5 January 2023

Last updated 24 July 2024


Ubuntu priority

A flaw was found in PHP. This issue occurs due to an uncaught integer overflow in PDO::quote() of PDO_SQLite returning an improperly quoted string. With the implementation of sqlite3_snprintf(), it is possible to force the function to return a single apostrophe if the function is called on user-supplied input without any length restrictions in place.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 22.10 kinetic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Ignored end of ESM support, was needed
php7.0 22.10 kinetic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial
14.04 LTS trusty Not in release
php7.2 22.10 kinetic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Fixed 7.2.24-0ubuntu0.18.04.16
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
php7.4 22.10 kinetic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Fixed 7.4.3-4ubuntu2.17
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
php8.1 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar
Fixed 8.1.12-1ubuntu3
22.10 kinetic
Fixed 8.1.7-1ubuntu3.2
22.04 LTS jammy
Fixed 8.1.2-1ubuntu2.10
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


sbeattie

PEAR issues should go against php-pear as of xenial