Risk | Medium |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2022-31631 |
CWE-ID | CWE-190 |
Exploitation vector | Network |
Public exploit | N/A |
Vulnerable software |
Ubuntu Operating systems & Components / Operating system php7.2-cgi (Ubuntu package) Operating systems & Components / Operating system package or component libapache2-mod-php7.2 (Ubuntu package) Operating systems & Components / Operating system package or component php7.2-sqlite3 (Ubuntu package) Operating systems & Components / Operating system package or component php7.2 (Ubuntu package) Operating systems & Components / Operating system package or component php7.2-cli (Ubuntu package) Operating systems & Components / Operating system package or component php7.4-cli (Ubuntu package) Operating systems & Components / Operating system package or component php7.4-sqlite3 (Ubuntu package) Operating systems & Components / Operating system package or component php7.4 (Ubuntu package) Operating systems & Components / Operating system package or component php7.4-cgi (Ubuntu package) Operating systems & Components / Operating system package or component libapache2-mod-php7.4 (Ubuntu package) Operating systems & Components / Operating system package or component php8.1-sqlite3 (Ubuntu package) Operating systems & Components / Operating system package or component php8.1 (Ubuntu package) Operating systems & Components / Operating system package or component php8.1-cgi (Ubuntu package) Other libapache2-mod-php8.1 (Ubuntu package) Other libapache2-mod-php8.0 (Ubuntu package) Other php8.1-cli (Ubuntu package) Other |
Vendor | Canonical Ltd. |
Security Bulletin
This security bulletin contains one medium risk vulnerability.
EUVDB-ID: #VU70788
Risk: Medium
CVSSv4.0: 6.9 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2022-31631
CWE-ID:
CWE-190 - Integer overflow
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to integer overflow when processing untrusted input within the PDO::quote() in PDO_SQLite. A remote attacker can pass a specially crafted input to the application that after being processed by the affected PDO::quote() method will return a quoted string, which can result in a SQL injection. MitigationUpdate the affected package php7.2 to the latest version.
Vulnerable software versionsUbuntu: 18.04 - 22.10
php7.2-cgi (Ubuntu package): before 7.2.24-0ubuntu0.18.04.16
libapache2-mod-php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.16
php7.2-sqlite3 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.16
php7.2 (Ubuntu package): before 7.2.24-0ubuntu0.18.04.16
php7.2-cli (Ubuntu package): before 7.2.24-0ubuntu0.18.04.16
php7.4-cli (Ubuntu package): before 7.4.3-4ubuntu2.17
php7.4-sqlite3 (Ubuntu package): before 7.4.3-4ubuntu2.17
php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.17
php7.4-cgi (Ubuntu package): before 7.4.3-4ubuntu2.17
php8.1-cgi (Ubuntu package): before 8.1.2-1ubuntu2.10
libapache2-mod-php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.10
libapache2-mod-php8.0 (Ubuntu package): before 8.1.2-1ubuntu2.10
libapache2-mod-php7.4 (Ubuntu package): before 7.4.3-4ubuntu2.17
php8.1-sqlite3 (Ubuntu package): before 8.1.2-1ubuntu2.10
php8.1 (Ubuntu package): before 8.1.2-1ubuntu2.10
php8.1-cli (Ubuntu package): before 8.1.2-1ubuntu2.10
CPE2.3https://ubuntu.com/security/notices/USN-5818-1
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.