CVE-2022-25147 Apache Portable Runtime Utility (APR-util): out-of-bounds writes in the apr_base64 family of functions
An integer overflow in APR-util's base64 functions allows attackers to write beyond buffer bounds, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25147?
CVE-2022-25147 is a medium-severity vulnerability in Apache Portable Runtime Utility (APR-util), published on 31 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Integer Overflow or Wraparound vulnerability in apr_base64 functions of Apache Portable Runtime Utility (APR-util) allows an attacker to write beyond bounds of a buffer.
This issue affects Apache Portable Runtime Utility (APR-util) 1.6.1 and prior versions.
Weakness: CWE-190
Which versions are affected by CVE-2022-25147?
It affects 1 product.
Linux distribution packages (40)
apr-util AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-bdb AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-devel AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-ldap AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-mysql AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-odbc AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-openssl AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-pgsql AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util-sqlite AlmaLinux:8 | All versions | 1.6.1-6.el8_8.1 |
apr-util AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-bdb AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-devel AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-ldap AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-mysql AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-odbc AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-openssl AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-pgsql AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util-sqlite AlmaLinux:9 | All versions | 1.6.1-20.el9_2.1 |
apr-util Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-devel Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-ldap Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-mysql Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-nss Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-odbc Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-openssl Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-pgsql Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-sqlite Red Hat:enterprise_linux:7::client | All versions | 0:1.5.2-6.el7_9.1 |
apr-util Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-ldap Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-mysql Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-nss Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-odbc Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-openssl Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-pgsql Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-sqlite Red Hat:enterprise_linux:7::computenode | All versions | 0:1.5.2-6.el7_9.1 |
apr-util Red Hat:enterprise_linux:7::server | All versions | 0:1.5.2-6.el7_9.1 |
apr-util-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1.5.2-6.el7_9.1 |
Products include Apache Portable Runtime Utility.
How do I fix CVE-2022-25147?
Upgrade to a fixed version.
Is CVE-2022-25147 being exploited?
There is no known exploitation of CVE-2022-25147 in the wild and no public exploit code.
Other vulnerabilities in Apache Portable Runtime Utility (APR-util)
Sources
Also known as ALPINE-CVE-2022-25147, ALSA-2023:3109, ALSA-2023:3147, AZL-13212, DEBIAN-CVE-2022-25147, DLA-3332-1 and 23 more.