Vulnerability · Published Jan 31, 2023 · Assigned by apache
CVE-2022-25147Apache Portable Runtime Utility (APR-util): out-of-bounds writes in the apr_base64 family of functions
Medium 6.5
In plain English
A medium-severity integer overflow in Apache Portable Runtime Utility (APR-util) from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.4%top 26.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | apr-util | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-bdb | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-bdb | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-devel | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-devel | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-ldap | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-ldap | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-mysql | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-mysql | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-odbc | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-odbc | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-openssl | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-openssl | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-pgsql | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-pgsql | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| AlmaLinux:8 | apr-util-sqlite | 1.6.1-6.el8_8.1 | ALSA-2023:3109 |
| AlmaLinux:9 | apr-util-sqlite | 1.6.1-20.el9_2.1 | ALSA-2023:3147 |
| Alpine:v3.20 | apr | 1.7.1-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.21 | apr | 1.7.1-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.22 | apr | 1.7.1-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.23 | apr | 1.7.1-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.24 | apr | 1.7.1-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.20 | apr-util | 1.6.3-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.21 | apr-util | 1.6.3-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.22 | apr-util | 1.6.3-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.23 | apr-util | 1.6.3-r0 | ALPINE-CVE-2022-25147 |
| Alpine:v3.24 | apr-util | 1.6.3-r0 | ALPINE-CVE-2022-25147 |
| Debian:12 | apr-util | 1.6.3-1 | DEBIAN-CVE-2022-25147 |
| Debian:13 | apr-util | 1.6.3-1 | DEBIAN-CVE-2022-25147 |
| Debian:14 | apr-util | 1.6.3-1 | DEBIAN-CVE-2022-25147 |
| Rocky Linux:8 | apr-util | 0:1.6.1-6.el8.1 | RLSA-2023:3109 |
| Rocky Linux:8 | apr-util | 0:1.6.1-6.el8_8.1 | RLSA-2023:3109 |
| Rocky Linux:9 | apr-util | 0:1.6.1-20.el9_2.1 | RLSA-2023:3147 |
| Ubuntu:22.04:LTS | apr-util | 1.6.1-5ubuntu4.22.04.1 | USN-5870-1 |
| Ubuntu:22.04:LTS | apr-util | 1.6.1-5ubuntu4.22.04.1 | UBUNTU-CVE-2022-25147 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Portable Runtime Utility (APR-util) | 0 – through 1.6.1 |
Weakness: CWE-190