ALPINE-CVE-2022-31626

Source
https://security.alpinelinux.org/vuln/CVE-2022-31626
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2022-31626
Upstream
Published
2022-06-16T06:15:08Z
Modified
2026-11-03T07:30:52Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability.

References

Affected packages

Alpine:v3.14
php7

Package

Name
php7
Purl
pkg:apk/alpine/php7?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
php8

Package

Name
php8
Purl
pkg:apk/alpine/php8?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
Alpine:v3.15
php7

Package

Name
php7
Purl
pkg:apk/alpine/php7?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
php8

Package

Name
php8
Purl
pkg:apk/alpine/php8?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
Alpine:v3.16
php8

Package

Name
php8
Purl
pkg:apk/alpine/php8?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
php81

Package

Name
php81
Purl
pkg:apk/alpine/php81?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
Alpine:v3.17
php81

Package

Name
php81
Purl
pkg:apk/alpine/php81?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
Alpine:v3.18
php81

Package

Name
php81
Purl
pkg:apk/alpine/php81?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"
Alpine:v3.19
php81

Package

Name
php81
Purl
pkg:apk/alpine/php81?arch=source

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31626.json"