Bug 2098523 (CVE-2022-31626)
| Summary: | CVE-2022-31626 php: password of excessive length triggers buffer overflow leading to RCE | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | TEJ RATHI <trathi> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | fedora, hhorak, jorton, rcollet |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | php-7.4.30, php-8.0.20, php-8.1.7 | Doc Type: | If docs needed, set a value |
| Doc Text: |
A buffer overflow vulnerability was found in PHP when processing passwords in mysqlnd/pdo in mysqlnd_wireprotocol.c. When using the pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply a MySQL database server password in the mysqlnd driver to the host for the connection, a password of excessive length can trigger a buffer overflow in PHP. This flaw allows a remote attacker to pass a password (with an excessive length) via PDO to the MySQL server, triggering arbitrary code execution on the target system.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-04 16:12:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2098528, 2098538, 2098539, 2098540, 2098541, 2098542, 2098543, 2098544, 2098545, 2098546, 2098547, 2098548, 2098549, 2098550, 2098551 | ||
| Bug Blocks: | 2097923 | ||
|
Description
TEJ RATHI
2022-06-20 04:50:46 UTC
Created php tracking bugs for this issue: Affects: fedora-all [bug 2098528] This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Extended Update Support Via RHSA-2022:5471 https://access.redhat.com/errata/RHSA-2022:5471 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:5467 https://access.redhat.com/errata/RHSA-2022:5467 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:5468 https://access.redhat.com/errata/RHSA-2022:5468 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Via RHSA-2022:5491 https://access.redhat.com/errata/RHSA-2022:5491 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2022-31626 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2022:5904 https://access.redhat.com/errata/RHSA-2022:5904 |