Your submission was sent successfully! Close

You have successfully unsubscribed! Close

CVE-2022-31631

Published: 5 January 2023

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.

Notes

AuthorNote
sbeattie
PEAR issues should go against php-pear as of xenial

Priority

Medium

Status

Package Release Status
php5
Launchpad, Ubuntu, Debian
xenial Does not exist

bionic Does not exist

focal Does not exist

jammy Does not exist

kinetic Does not exist

upstream Needs triage

trusty Needed

php7.0
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

jammy Does not exist

kinetic Does not exist

trusty Does not exist

upstream Needs triage

xenial
Released (7.0.33-0ubuntu0.16.04.16+esm5)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
php7.2
Launchpad, Ubuntu, Debian
bionic
Released (7.2.24-0ubuntu0.18.04.16)
focal Does not exist

jammy Does not exist

kinetic Does not exist

upstream Needs triage

trusty Does not exist

xenial Does not exist

php7.4
Launchpad, Ubuntu, Debian
focal
Released (7.4.3-4ubuntu2.17)
trusty Does not exist

xenial Does not exist

bionic Does not exist

jammy Does not exist

kinetic Does not exist

upstream Needs triage

php8.1
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Does not exist

jammy
Released (8.1.2-1ubuntu2.10)
upstream
Released (8.1.14)
lunar
Released (8.1.12-1ubuntu3)
kinetic
Released (8.1.7-1ubuntu3.2)