CVE-2023-49582Apache Portable Runtime (APR): Unexpected lax shared memory permissions
Lax permissions set by the Apache Portable Runtime library on Unix platforms would allow local users read access to named shared memory segments, potentially revealing sensitive application data. This issue does not affect non-Unix platforms, or builds with APR_USE_SHMEM_SHMGET=1 (apr.h) Users are recommended to upgrade to APR version 1.7.5, which fixes this issue.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | apr | Fixed | 1.7.2-3.1ubuntu0.1 | UBUNTU-CVE-2023-49582 |
| Ubuntu 22.04 | apr | Fixed | 1.7.0-8ubuntu0.22.04.2 | UBUNTU-CVE-2023-49582 |
| Ubuntu 20.04 | apr | Fixed | 1.6.5-1ubuntu1.1 | UBUNTU-CVE-2023-49582 |
| Ubuntu 18.04 | apr | Fix pending | 1.6.3-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-49582 |
| Ubuntu 16.04 | apr | Fix pending | 1.5.2-3ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2023-49582 |
| Ubuntu 14.04 | apr | Fix pending | 1.5.0-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2023-49582 |
| Debian 14 | apr | Fixed | 1.7.5-1 | DEBIAN-CVE-2023-49582 |
| Debian 13 | apr | Fixed | 1.7.5-1 | DEBIAN-CVE-2023-49582 |
| Debian 12 | apr | Fixed | 1.7.2-3+deb12u1 | DEBIAN-CVE-2023-49582 |
| Red Hat Enterprise Linux 10 | apr | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | apr-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | apr-util | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-ldap | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-lmdb | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-mysql | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-odbc | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-openssl | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-pgsql | Not affected | ||
| Red Hat Enterprise Linux 10 | apr-util-sqlite | Not affected | ||
| Red Hat Enterprise Linux 9 | apr | Not affected | ||
| Red Hat Enterprise Linux 9 | apr-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | apr | Not affected | ||
| Red Hat Enterprise Linux 8 | apr-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | apr | Not affected | ||
| Red Hat Enterprise Linux 7 | apr-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | apr | Not affected | ||
| Red Hat Enterprise Linux 6 | apr-devel | Not affected | ||
| Alpine Linux 3.24 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine Linux 3.23 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine Linux 3.22 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine Linux 3.21 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine Linux 3.20 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine Linux 3.19 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine Linux 3.18 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine Linux 3.17 | apr | Fixed | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Portable Runtime (APR): affected: 0.9.0 to 1.7.4
Vendor advisories:
- https://lists.apache.org/thread/sntjc04t1rvjhdzz2tzmtz2zdnmv7dc4 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.