CVE-2022-31631

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31631
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31631.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31631
Aliases
Related
Published
2025-02-12T22:15:29Z
Modified
2025-02-20T11:26:59.079437Z
Summary
[none]
Details

In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying an overly long string may cause the driver to incorrectly quote the data, which may further lead to SQL injection vulnerabilities.

References

Affected packages

Debian:11 / php7.4

Package

Name
php7.4
Purl
pkg:deb/debian/php7.4?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.4.33-1+deb11u3

Affected versions

7.*

7.4.21-1+deb11u1
7.4.25-1+deb11u1
7.4.26-1
7.4.28-1+deb11u1
7.4.30-1+deb11u1
7.4.33-1+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / php8.2

Package

Name
php8.2
Purl
pkg:deb/debian/php8.2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.2.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}